From 8abfe01dae8c0ed7ca6bfb153a7fcab47df72a52 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Wed, 4 Oct 2006 20:02:09 +0200 Subject: [S390] Wire up sys_getcpu system call. Signed-off-by: Heiko Carstens --- arch/s390/kernel/compat_wrapper.S | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/s390/kernel/compat_wrapper.S') diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index 4aabeeaa7cf7..cb0efae6802f 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S @@ -1658,3 +1658,10 @@ compat_sys_vmsplice_wrapper: llgfr %r4,%r4 # unsigned int llgfr %r5,%r5 # unsigned int jg compat_sys_vmsplice + + .globl sys_getcpu_wrapper +sys_getcpu_wrapper: + llgtr %r2,%r2 # unsigned * + llgtr %r3,%r3 # unsigned * + llgtr %r4,%r4 # struct getcpu_cache * + jg sys_tee -- cgit v1.2.3