diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-09-12 12:49:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-12 13:50:56 -0400 |
commit | 9c0aa0f9a16557a3dd9b7b0d39bc67ddf1fa0b32 (patch) | |
tree | 7f56da5c81c9e8751a0c85ba7e2495e0616971a8 /include/asm-x86_64/processor.h | |
parent | 47e5701e37cf10948c3f2952870d9f18b6e84965 (diff) |
[PATCH] Replace extern inline with static inline in asm-x86_64/*
They should be identical in the kernel now, but this
makes it consistent with other code.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/processor.h')
-rw-r--r-- | include/asm-x86_64/processor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86_64/processor.h b/include/asm-x86_64/processor.h index a8321999448f..c6461c16edbf 100644 --- a/include/asm-x86_64/processor.h +++ b/include/asm-x86_64/processor.h | |||
@@ -375,13 +375,13 @@ struct extended_sigtable { | |||
375 | #define ASM_NOP_MAX 8 | 375 | #define ASM_NOP_MAX 8 |
376 | 376 | ||
377 | /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ | 377 | /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ |
378 | extern inline void rep_nop(void) | 378 | static inline void rep_nop(void) |
379 | { | 379 | { |
380 | __asm__ __volatile__("rep;nop": : :"memory"); | 380 | __asm__ __volatile__("rep;nop": : :"memory"); |
381 | } | 381 | } |
382 | 382 | ||
383 | /* Stop speculative execution */ | 383 | /* Stop speculative execution */ |
384 | extern inline void sync_core(void) | 384 | static inline void sync_core(void) |
385 | { | 385 | { |
386 | int tmp; | 386 | int tmp; |
387 | asm volatile("cpuid" : "=a" (tmp) : "0" (1) : "ebx","ecx","edx","memory"); | 387 | asm volatile("cpuid" : "=a" (tmp) : "0" (1) : "ebx","ecx","edx","memory"); |