diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-03-19 13:25:12 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:00 -0400 |
commit | fa8004d8e0c2ba21a44bdc95c44c6c5267a991ec (patch) | |
tree | 4ba54d48ba30f26a08e33211505dbd68cef6fff7 /arch/x86/kernel/smpboot_64.c | |
parent | 148a30f8cf2ac72b7ea6e5c8971fad8d80ec3879 (diff) |
x86: add barriers statement
goal is to have i386 and x86_64 closer, so we
add barriers to match
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot_64.c')
-rw-r--r-- | arch/x86/kernel/smpboot_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c index d7b59d6c6963..a9cc91127b91 100644 --- a/arch/x86/kernel/smpboot_64.c +++ b/arch/x86/kernel/smpboot_64.c | |||
@@ -239,6 +239,7 @@ void __cpuinit start_secondary(void) | |||
239 | 239 | ||
240 | setup_secondary_clock(); | 240 | setup_secondary_clock(); |
241 | 241 | ||
242 | wmb(); | ||
242 | cpu_idle(); | 243 | cpu_idle(); |
243 | } | 244 | } |
244 | 245 | ||