summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/vdso64/getcpu.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel/vdso64/getcpu.S')
-rw-r--r--arch/s390/kernel/vdso64/getcpu.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390/kernel/vdso64/getcpu.S b/arch/s390/kernel/vdso64/getcpu.S
index 2446e9dac8ab..3c04f7328500 100644
--- a/arch/s390/kernel/vdso64/getcpu.S
+++ b/arch/s390/kernel/vdso64/getcpu.S
@@ -16,10 +16,8 @@
.type __kernel_getcpu,@function
__kernel_getcpu:
CFI_STARTPROC
- la %r4,0
sacf 256
- l %r5,__VDSO_CPU_NR(%r4)
- l %r4,__VDSO_NODE_ID(%r4)
+ lm %r4,%r5,__VDSO_GETCPU_VAL(%r0)
sacf 0
ltgr %r2,%r2
jz 2f