diff options
author | Richard Braun <rbraun@sceen.net> | 2013-03-14 22:27:30 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-03-14 22:27:30 +0100 |
commit | a1e1164f13bebb974c84060f02c6f7e327a2b27c (patch) | |
tree | 9a3515787e331f0435bf56aa0ef569e0b000cf79 /arch/x86/machine/cpu.c | |
parent | ed09fa58fb5778d943b2636b13c873fa68d4daac (diff) |
x86: remove store memory barriers
Use a compiler barrier instead of a memory barrier to enforce program order.
The x86 architecture normally enforces ordering on stores. There are
exceptions but they're currently not supported.
Diffstat (limited to 'arch/x86/machine/cpu.c')
-rw-r--r-- | arch/x86/machine/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/machine/cpu.c b/arch/x86/machine/cpu.c index 0d1a9f38..eb0eb7e1 100644 --- a/arch/x86/machine/cpu.c +++ b/arch/x86/machine/cpu.c @@ -527,7 +527,8 @@ cpu_mp_start_aps(void) boot_ap_id = i; boot_ap_stack_addr = cpu->boot_stack; - mb_store(); + + barrier(); lapic_ipi_init_assert(cpu->apic_id); cpu_delay(200); |