[S390] Convert memory detection into C code.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 5 Feb 2007 20:18:37 +0000 (21:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 5 Feb 2007 20:18:37 +0000 (21:18 +0100)
commitab14de6c37fae22911ba99f4171613e6d758050b
tree7545169fe9d64a82616ae37f2b6c1a420c77f30f
parent31ee4b2f40994e8b21691f85cdd4052551a789b7
[S390] Convert memory detection into C code.

Hopefully this will make it more maintainable and less error prone.
Code makes use of search_exception_tables(). Since it calls this
function before the kernel exeception table is sorted, there is an
early call to sort_main_extable().

This way it's easy to use the already present infrastructure of fixup
sections. Also this would allows to easily convert the rest of
head[31|64].S into C code.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
21 files changed:
arch/s390/defconfig
arch/s390/kernel/Makefile
arch/s390/kernel/base.S [new file with mode: 0644]
arch/s390/kernel/early.c [new file with mode: 0644]
arch/s390/kernel/head31.S
arch/s390/kernel/head64.S
arch/s390/kernel/ipl.c
arch/s390/kernel/reset.S [deleted file]
arch/s390/kernel/setup.c
drivers/s390/Kconfig
drivers/s390/char/Makefile
drivers/s390/char/sclp.c
drivers/s390/char/sclp.h
drivers/s390/char/sclp_cpi.c
drivers/s390/char/sclp_info.c [new file with mode: 0644]
drivers/s390/char/sclp_rw.c
drivers/s390/char/sclp_vt220.c
drivers/s390/cio/cio.c
include/asm-s390/processor.h
include/asm-s390/reset.h
include/asm-s390/sclp.h [new file with mode: 0644]