diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-07-29 11:36:48 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-07-29 11:36:48 -0400 |
commit | 7ac5ae4b122f9415948c642b945a26938aa8f347 (patch) | |
tree | d925c9b022866bfac4e1e0ddaff76cbe158bdbbf /arch | |
parent | e7ec02938dbe8ca35b750f29eaa4b12de0b52754 (diff) |
[ARM SMP] Ensure secondary CPUs see their pen release
Since the secondary CPUs will not be operating in symetric mode
while they are held in the pen, we need to ensure that the write
to pen_release is visible to them, by flushing the cache.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-integrator/platsmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-integrator/platsmp.c b/arch/arm/mach-integrator/platsmp.c index aecf47ba033a..ea10bd8c972c 100644 --- a/arch/arm/mach-integrator/platsmp.c +++ b/arch/arm/mach-integrator/platsmp.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/mm.h> | 15 | #include <linux/mm.h> |
16 | 16 | ||
17 | #include <asm/atomic.h> | 17 | #include <asm/atomic.h> |
18 | #include <asm/cacheflush.h> | ||
18 | #include <asm/delay.h> | 19 | #include <asm/delay.h> |
19 | #include <asm/mmu_context.h> | 20 | #include <asm/mmu_context.h> |
20 | #include <asm/procinfo.h> | 21 | #include <asm/procinfo.h> |
@@ -80,6 +81,7 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle) | |||
80 | * "cpu" is Linux's internal ID. | 81 | * "cpu" is Linux's internal ID. |
81 | */ | 82 | */ |
82 | pen_release = cpu; | 83 | pen_release = cpu; |
84 | flush_cache_all(); | ||
83 | 85 | ||
84 | /* | 86 | /* |
85 | * XXX | 87 | * XXX |