aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/ia32/syscall32_syscall.S
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-07-28 21:15:44 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-28 21:46:01 -0700
commit2275cfa8bcb833cdac7dcc616d11306ca35eec58 (patch)
tree079ad29faf7f05dbfe5235d322d741ea540ba29c /arch/x86_64/ia32/syscall32_syscall.S
parentf8d311939f9d2b2a5e935df8dceb98b7cbe08d43 (diff)
[PATCH] x86_64: Icecream has no way of detecting assembler-level includes
Icecream preprocesses c sources locally, and sends the result off to a remote host for compiling. It does not recognize includes at assembler level. The fix is to put the assemberincludes an a separate .s file, which will always be assembled locally. Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/ia32/syscall32_syscall.S')
-rw-r--r--arch/x86_64/ia32/syscall32_syscall.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/x86_64/ia32/syscall32_syscall.S b/arch/x86_64/ia32/syscall32_syscall.S
new file mode 100644
index 00000000000..8f8271bdf13
--- /dev/null
+++ b/arch/x86_64/ia32/syscall32_syscall.S
@@ -0,0 +1,17 @@
+/* 32bit VDSOs mapped into user space. */
+
+ .section ".init.data","aw"
+
+ .globl syscall32_syscall
+ .globl syscall32_syscall_end
+
+syscall32_syscall:
+ .incbin "arch/x86_64/ia32/vsyscall-syscall.so"
+syscall32_syscall_end:
+
+ .globl syscall32_sysenter
+ .globl syscall32_sysenter_end
+
+syscall32_sysenter:
+ .incbin "arch/x86_64/ia32/vsyscall-sysenter.so"
+syscall32_sysenter_end: