summaryrefslogtreecommitdiff
path: root/arch/x86/um/asm/switch_to.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2012-03-29 20:47:46 +0400
committerRichard Weinberger <richard@nod.at>2012-04-10 02:13:45 +0400
commita3a85a763c399c0bf483a30d82d2d613e6f94cd3 (patch)
tree9239b9bd86541e212f0d3f9bae0d50f104fab3d4 /arch/x86/um/asm/switch_to.h
parentd824d06328904f610b47652dcd488392f2fc62b6 (diff)
downloadlinux-a3a85a763c399c0bf483a30d82d2d613e6f94cd3.tar.xz
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.h7
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 000000000000..cf97d20da61f
--- /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