diff options
Diffstat (limited to 'arch/x86/um/asm/switch_to.h')
-rw-r--r-- | arch/x86/um/asm/switch_to.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/um/asm/switch_to.h b/arch/x86/um/asm/switch_to.h new file mode 100644 index 00000000000..cf97d20da61 --- /dev/null +++ b/arch/x86/um/asm/switch_to.h @@ -0,0 +1,7 @@ +#ifndef _ASM_UM_SWITCH_TO_H_ +#define _ASM_UM_SWITCH_TO_H_ + +extern void *_switch_to(void *prev, void *next, void *last); +#define switch_to(prev, next, last) prev = _switch_to(prev, next, last) + +#endif |