From 516c102d681f020ba3c5a70f7dc24570c503a461 Mon Sep 17 00:00:00 2001 From: Lorenzo Pieralisi Date: Fri, 7 Sep 2012 11:09:15 +0530 Subject: [PATCH] --- yaml --- r: 333726 b: refs/heads/master c: e6b866e954a7f0d0144a951c158f3922dac1e6b9 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/kernel/smp.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7d61ee513236..76798948a551 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dbee0c6fb4c1269b2dfc8b0b7a29907ea7fed560 +refs/heads/master: e6b866e954a7f0d0144a951c158f3922dac1e6b9 diff --git a/trunk/arch/arm/kernel/smp.c b/trunk/arch/arm/kernel/smp.c index ebd8ad274d76..199558b9462e 100644 --- a/trunk/arch/arm/kernel/smp.c +++ b/trunk/arch/arm/kernel/smp.c @@ -134,8 +134,11 @@ int __cpu_disable(void) /* * Flush user cache and TLB mappings, and then remove this CPU * from the vm mask set of all processes. + * + * Caches are flushed to the Level of Unification Inner Shareable + * to write-back dirty lines to unified caches shared by all CPUs. */ - flush_cache_all(); + flush_cache_louis(); local_flush_tlb_all(); clear_tasks_mm_cpumask(cpu);