Skip to content

Commit

Permalink
s390: Add z17 elf platform
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vasily Gorbik authored and Heiko Carstens committed Apr 9, 2025
1 parent 2ccd42b commit 8231a0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/s390/kernel/processor.c
Original file line number Diff line number Diff line change
@@ -294,6 +294,10 @@ static int __init setup_elf_platform(void)
case 0x3932:
strcpy(elf_platform, "z16");
break;
case 0x9175:
case 0x9176:
strcpy(elf_platform, "z17");
break;
}
return 0;
}

0 comments on commit 8231a0e

Please sign in to comment.