Commit 7e8f89e5 authored by Sven Schnelle's avatar Sven Schnelle Committed by Vasily Gorbik

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: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarSven Schnelle <svens@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 582cc1b2
......@@ -215,6 +215,11 @@ struct lowcore {
#define S390_lowcore (*((struct lowcore *) 0))
static __always_inline struct lowcore *get_lowcore(void)
{
return NULL;
}
extern struct lowcore *lowcore_ptr[];
static inline void set_prefix(__u32 address)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment