s390/mem_detect: use unsigned longs
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 31 Dec 2015 09:07:21 +0000 (10:07 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 11 Jan 2016 11:27:11 +0000 (12:27 +0100)
commit423d5b364c108c00d98e3da9f72d598e8f2ef948
tree2a2f85cdbdff2e306412d80d6b8544fd97cf25f1
parentcb951785a78c68bf802f5e3d9016b0205ddd24c2
s390/mem_detect: use unsigned longs

The memory detection code historically had to use unsigned long long
since the machine reported the true memory size (>4GB) even if the
virtual machine was running in ESA/390 mode.

Since the old code is gone use unsigned long everywhere and also get
rid of an unused ADDR2G define.

(this patch converts all long longs within sclp_info to longs)

There are many more possible conversions, however that can be done if
somebody touches the corresponding code.  Since people started to
convert unrelated long types to long longs because of the types within
struct sclp_info convert this now.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/sclp.h
arch/s390/mm/mem_detect.c
This page took 0.024737 seconds and 5 git commands to generate.