]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/traps: preinitialize program check table
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 18 Oct 2012 16:10:06 +0000 (18:10 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 24 Oct 2012 10:47:28 +0000 (12:47 +0200)
commit0adeba2ff075c41e8d1f2ceb30aaa0395239900d
tree00717a1a5184583ed39dbff4e46f9811bcc077ae
parent23e55f034a8fda694e007c9ba0d1ee5554ed079a
s390/traps: preinitialize program check table

Preinitialize the program check table, so we can put it into the
read-only data section.
Also use only four byte entries for the table, since each program
check handler resides within the first 2GB. Therefore this reduces
the size of the table by 50% on 64 bit builds.

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/entry.h
arch/s390/kernel/entry64.S
arch/s390/kernel/pgm_check.S [new file with mode: 0644]
arch/s390/kernel/traps.c