aboutsummaryrefslogtreecommitdiff
path: root/include/asm-um/processor-x86_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/processor-x86_64.h')
-rw-r--r--include/asm-um/processor-x86_64.h2
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 31c2d4d685b..d946bf2d334 100644
--- a/include/asm-um/processor-x86_64.h
+++ b/include/asm-um/processor-x86_64.h
@@ -18,7 +18,7 @@ struct arch_thread {
};
/* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */
-extern inline void rep_nop(void)
+static inline void rep_nop(void)
{
__asm__ __volatile__("rep;nop": : :"memory");
}