]> 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>
Mon, 12 Nov 2012 15:24:44 +0000 (16:24 +0100)
commit8b56a546090ac1b4d29b1314018f5223ab70c318
tree21722b6962094cc1e80217c1c49e3b4903f4fc01
parent58ac8201da9c2fca3a98deda096b68896f9d9978
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