Skip to content

Commit 8231a0e

Browse files
Vasily Gorbikhcahca
authored andcommitted
s390: Add z17 elf platform
Add detection for machine types 0x9175 and 0x9176 and set ELF platform name to z17. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
1 parent 2ccd42b commit 8231a0e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/s390/kernel/processor.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,10 @@ static int __init setup_elf_platform(void)
294294
case 0x3932:
295295
strcpy(elf_platform, "z16");
296296
break;
297+
case 0x9175:
298+
case 0x9176:
299+
strcpy(elf_platform, "z17");
300+
break;
297301
}
298302
return 0;
299303
}

0 commit comments

Comments
 (0)