summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/vdso64/getcpu.c
Commit message (Collapse)AuthorAgeFilesLines
* s390/vdso: use union tod_clockHeiko Carstens2021-02-131-3/+3
| | | | | Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
* s390/vdso: add missing prototypes for vdso functionsHeiko Carstens2020-11-301-0/+1
| | | | | | | | | | | | | clang W=1 warns about missing prototypes: >> arch/s390/kernel/vdso64/getcpu.c:8:5: warning: no previous prototype for function '__s390_vdso_getcpu' [-Wmissing-prototypes] int __s390_vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) ^ Add a local header file in order to get rid of this warnings. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
* s390/vdso: reimplement getcpu vdso syscallHeiko Carstens2020-11-231-0/+20
Implement the previously removed getcpu vdso syscall by using the TOD programmable field to pass the cpu number to user space. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>