s390/mem_detect: add get_mem_detect_online_total()
authorVasily Gorbik <gor@linux.ibm.com>
Sun, 29 Jan 2023 23:57:12 +0000 (00:57 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 6 Feb 2023 10:13:54 +0000 (11:13 +0100)
commit3615d01114047ffce3a0942c21e6402c7b49bb3f
tree375013583ebfa21be3f04e41f625028601130af8
parentbf64f0517e5d0d8f3248143fc49535c1d1594b4f
s390/mem_detect: add get_mem_detect_online_total()

Add a function to get online memory in total. It is supposed to be used
in the decompressor as well as during early kernel startup.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/mem_detect.h