]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8347c579c482176982ab33939d0efd4d774a8c66
tree2a2f85cdbdff2e306412d80d6b8544fd97cf25f1
parentfa0a8d93f6aaa85bb0405bb8adc64deaf6e01486
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