2 * Userland implementation of getcpu() for 64 bits processes in a
3 * s390 kernel for use in the vDSO
5 * Copyright IBM Corp. 2016
6 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
9 #include <asm/asm-offsets.h>
13 .globl __kernel_getcpu
14 .type __kernel_getcpu,@function
23 l %r5,__VDSO_CPU_NR(%r4)
24 l %r4,__VDSO_NODE_ID(%r4)
42 .size __kernel_getcpu,.-__kernel_getcpu