diff options
Diffstat (limited to 'arch/x86/um/asm/system.h')
-rw-r--r-- | arch/x86/um/asm/system.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/um/asm/system.h b/arch/x86/um/asm/system.h index a89113bc74f..a459fd9b759 100644 --- a/arch/x86/um/asm/system.h +++ b/arch/x86/um/asm/system.h @@ -6,7 +6,6 @@ #include <asm/cpufeature.h> #include <asm/cmpxchg.h> #include <asm/nops.h> -#include <asm/system-um.h> #include <linux/kernel.h> #include <linux/irqflags.h> @@ -130,4 +129,7 @@ static inline void rdtsc_barrier(void) alternative(ASM_NOP3, "lfence", X86_FEATURE_LFENCE_RDTSC); } +extern void *_switch_to(void *prev, void *next, void *last); +#define switch_to(prev, next, last) prev = _switch_to(prev, next, last) + #endif |