aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/alternative.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2012-09-18 12:36:14 -0400
committerIngo Molnar <mingo@kernel.org>2012-09-19 11:32:48 -0400
commit4b8073e467e6a66b6a5a8e799d28bc3b243c0d78 (patch)
tree88631082a3a85467c6b915e19a9e66d37f069ffd /arch/x86/kernel/alternative.c
parent81a15f2ee56fe725ce68e3cdad982117e261d47d (diff)
arch/x86: Remove unecessary semicolons
Found by http://coccinelle.lip6.fr/ Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Cc: avi@redhat.com Cc: mtosatti@redhat.com Cc: a.p.zijlstra@chello.nl Cc: rusty@rustcorp.com.au Cc: masami.hiramatsu.pt@hitachi.com Cc: suresh.b.siddha@intel.com Cc: joerg.roedel@amd.com Cc: agordeev@redhat.com Cc: yinghai@kernel.org Cc: bhelgaas@google.com Cc: liuj97@gmail.com Link: http://lkml.kernel.org/r/1347986174-30287-7-git-send-email-peter.senna@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/alternative.c')
-rw-r--r--arch/x86/kernel/alternative.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index ced4534baed5..3318b1e53e06 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -317,7 +317,7 @@ static void alternatives_smp_lock(const s32 *start, const s32 *end,
317 /* turn DS segment override prefix into lock prefix */ 317 /* turn DS segment override prefix into lock prefix */
318 if (*ptr == 0x3e) 318 if (*ptr == 0x3e)
319 text_poke(ptr, ((unsigned char []){0xf0}), 1); 319 text_poke(ptr, ((unsigned char []){0xf0}), 1);
320 }; 320 }
321 mutex_unlock(&text_mutex); 321 mutex_unlock(&text_mutex);
322} 322}
323 323
@@ -338,7 +338,7 @@ static void alternatives_smp_unlock(const s32 *start, const s32 *end,
338 /* turn lock prefix into DS segment override prefix */ 338 /* turn lock prefix into DS segment override prefix */
339 if (*ptr == 0xf0) 339 if (*ptr == 0xf0)
340 text_poke(ptr, ((unsigned char []){0x3E}), 1); 340 text_poke(ptr, ((unsigned char []){0x3E}), 1);
341 }; 341 }
342 mutex_unlock(&text_mutex); 342 mutex_unlock(&text_mutex);
343} 343}
344 344