summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/traps.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-11-05 14:03:32 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-12-18 14:59:26 +0100
commit6527f6e0cb6a14c3938140f609d2fde59f4299fc (patch)
tree6c5fba8420defba05733d1fdd12f717bcfa042b3 /arch/s390/kernel/traps.c
parenta7e137eb94b6abd180050cf0b42e8b3db7efbf5f (diff)
s390: compile head.S always with -march=z900
head.S on s390 contains some sanity checks if the kernel will run on a machine or if the machine is too old, e.g. if the kernel contains instructions not available on the machine. If so, it will emit an error message to the console before it stops execution. Therefore head.S contains only instructions which are availanble with the earliest machine generation (z900). In order to make sure we don't accidently add instructions which are not available on z900, always compile with -march=z900. This makes sure compilation will fail if wrong instructions are used. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions