summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/vdso64/vdso64_wrapper.S
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 13:38:36 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-12-25 13:38:55 +0100
commitb020632e40c3ed5e8c0c066d022672907e8401cf (patch)
treed7f805bd27e8378436fbba7e7457afbd10c22ed8 /arch/s390/kernel/vdso64/vdso64_wrapper.S
parentfc5243d98ac2575ad14a974b3c097e9ba874c03d (diff)
downloadblackbird-op-linux-b020632e40c3ed5e8c0c066d022672907e8401cf.tar.gz
blackbird-op-linux-b020632e40c3ed5e8c0c066d022672907e8401cf.zip
[S390] introduce vdso on s390
Add a vdso to speed up gettimeofday and clock_getres/clock_gettime for CLOCK_REALTIME/CLOCK_MONOTONIC. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vdso64/vdso64_wrapper.S')
-rw-r--r--arch/s390/kernel/vdso64/vdso64_wrapper.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/s390/kernel/vdso64/vdso64_wrapper.S b/arch/s390/kernel/vdso64/vdso64_wrapper.S
new file mode 100644
index 000000000000..d8e2ac14d564
--- /dev/null
+++ b/arch/s390/kernel/vdso64/vdso64_wrapper.S
@@ -0,0 +1,13 @@
+#include <linux/init.h>
+#include <asm/page.h>
+
+ .section ".data.page_aligned"
+
+ .globl vdso64_start, vdso64_end
+ .balign PAGE_SIZE
+vdso64_start:
+ .incbin "arch/s390/kernel/vdso64/vdso64.so"
+ .balign PAGE_SIZE
+vdso64_end:
+
+ .previous
OpenPOWER on IntegriCloud