summaryrefslogtreecommitdiffstats
path: root/arch/um/sys-i386/stub.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-i386/stub.S')
-rw-r--r--arch/um/sys-i386/stub.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/um/sys-i386/stub.S b/arch/um/sys-i386/stub.S
new file mode 100644
index 00000000000..2f2c70a8f04
--- /dev/null
+++ b/arch/um/sys-i386/stub.S
@@ -0,0 +1,8 @@
+#include "uml-config.h"
+
+ .globl syscall_stub
+.section .__syscall_stub, "x"
+syscall_stub:
+ int $0x80
+ mov %eax, UML_CONFIG_STUB_DATA
+ int3