diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-01-14 17:50:19 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-01-22 12:15:57 +0100 |
commit | f8b2dcbd9e6d1479b9b5a9e9e78bbaf783bde819 (patch) | |
tree | 0752b6462bcee89772569a8fff515863ecec6521 /arch/s390/kernel | |
parent | e982506730815f9e3bcd148d06b5b6d778d9c46c (diff) | |
download | linux-stable-f8b2dcbd9e6d1479b9b5a9e9e78bbaf783bde819.tar.gz linux-stable-f8b2dcbd9e6d1479b9b5a9e9e78bbaf783bde819.tar.bz2 linux-stable-f8b2dcbd9e6d1479b9b5a9e9e78bbaf783bde819.zip |
s390: add z13 code generation support
Allow to generate code that only runs on z13 machines.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/head.S | 4 | ||||
-rw-r--r-- | arch/s390/kernel/setup.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/s390/kernel/head.S b/arch/s390/kernel/head.S index d62eee11f0b5..132f4c9ade60 100644 --- a/arch/s390/kernel/head.S +++ b/arch/s390/kernel/head.S @@ -436,7 +436,9 @@ ENTRY(startup_kdump) # followed by the facility words. #if defined(CONFIG_64BIT) -#if defined(CONFIG_MARCH_ZEC12) +#if defined(CONFIG_MARCH_Z13) + .long 3, 0xc100eff2, 0xf46ce800, 0x00400000 +#elif defined(CONFIG_MARCH_ZEC12) .long 3, 0xc100eff2, 0xf46ce800, 0x00400000 #elif defined(CONFIG_MARCH_Z196) .long 2, 0xc100eff2, 0xf46c0000 diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 4e532c67832f..bfac77ada4f2 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c @@ -810,6 +810,9 @@ static void __init setup_hwcaps(void) case 0x2828: strcpy(elf_platform, "zEC12"); break; + case 0x2964: + strcpy(elf_platform, "z13"); + break; } } |