aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/alternative.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/alternative.c')
-rw-r--r--arch/x86/kernel/alternative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 486935143e02..de7353c0ce9c 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -498,8 +498,8 @@ static void *__init_or_module text_poke_early(void *addr, const void *opcode,
498 unsigned long flags; 498 unsigned long flags;
499 local_irq_save(flags); 499 local_irq_save(flags);
500 memcpy(addr, opcode, len); 500 memcpy(addr, opcode, len);
501 local_irq_restore(flags);
502 sync_core(); 501 sync_core();
502 local_irq_restore(flags);
503 /* Could also do a CLFLUSH here to speed up CPU recovery; but 503 /* Could also do a CLFLUSH here to speed up CPU recovery; but
504 that causes hangs on some VIA CPUs. */ 504 that causes hangs on some VIA CPUs. */
505 return addr; 505 return addr;