diff options
Diffstat (limited to 'include/asm-um/processor-x86_64.h')
-rw-r--r-- | include/asm-um/processor-x86_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-um/processor-x86_64.h b/include/asm-um/processor-x86_64.h index 31c2d4d685bd..d946bf2d334a 100644 --- a/include/asm-um/processor-x86_64.h +++ b/include/asm-um/processor-x86_64.h | |||
@@ -18,7 +18,7 @@ struct arch_thread { | |||
18 | }; | 18 | }; |
19 | 19 | ||
20 | /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ | 20 | /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ |
21 | extern inline void rep_nop(void) | 21 | static inline void rep_nop(void) |
22 | { | 22 | { |
23 | __asm__ __volatile__("rep;nop": : :"memory"); | 23 | __asm__ __volatile__("rep;nop": : :"memory"); |
24 | } | 24 | } |