Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390: Add get_lowcore() function

Add a get_lowcore() function which returns the address
of lowcore (currently always NULL). This function will
be used as a replacement of the S390_lowcore macro.

Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>

authored by

Sven Schnelle and committed by
Vasily Gorbik
7e8f89e5 582cc1b2

+5
+5
arch/s390/include/asm/lowcore.h
··· 215 215 216 216 #define S390_lowcore (*((struct lowcore *) 0)) 217 217 218 + static __always_inline struct lowcore *get_lowcore(void) 219 + { 220 + return NULL; 221 + } 222 + 218 223 extern struct lowcore *lowcore_ptr[]; 219 224 220 225 static inline void set_prefix(__u32 address)