[S390] Move memory detection code to own file.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Jul 2008 07:59:21 +0000 (09:59 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Jul 2008 08:02:17 +0000 (10:02 +0200)
commit23d1742179170b69e61ac9166248ffd64857e55a
tree5afb9b76b666f1543a6e8c42d760dfe0454e62e7
parentef60cd13ecee0ccf2439d63013cbfc798aea2bb9
[S390] Move memory detection code to own file.

Move memory detection code to own file and also simplify it.
Also add an interface which can be called at any time to get the
current memory layout. This interface is needed by our kernel
internal system dumper.

Cc: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Cc: Michael Holzheu <holzheu@de.ibm.com>
Cc: Frank Munzert <munzert@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/Makefile
arch/s390/kernel/early.c
arch/s390/kernel/mem_detect.c [new file with mode: 0644]
arch/s390/kernel/setup.c
drivers/s390/char/sclp_cmd.c
include/asm-s390/sclp.h
include/asm-s390/setup.h