diff options
author | Richard Weinberger <richard@nod.at> | 2012-03-29 18:47:46 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-04-10 00:13:45 +0200 |
commit | a3a85a763c399c0bf483a30d82d2d613e6f94cd3 (patch) | |
tree | 9239b9bd86541e212f0d3f9bae0d50f104fab3d4 /arch/x86/um/asm/switch_to.h | |
parent | d824d06328904f610b47652dcd488392f2fc62b6 (diff) |
um: Disintegrate asm/system.h
Signed-off-by: Richard Weinberger <richard@nod.at>
Reported-by: Toralf Förster <toralf.foerster@gmx.de>
CC: dhowells@redhat.com
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 |