projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c58d92b
)
[S390] add new machine types to setup_hwcaps.
author
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Thu, 25 Dec 2008 12:39:22 +0000
(13:39 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Thu, 25 Dec 2008 12:39:14 +0000
(13:39 +0100)
Add the machine types for z9-bc, z10-ec and z10-bc to the elf_platform
detection in setup_hwcaps.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/setup.c
b/arch/s390/kernel/setup.c
index a0d44bc0c389501af36e75110e8724f79ff3f958..323dedecdf540a107aec6361cea2a9521ab035c3 100644
(file)
--- a/
arch/s390/kernel/setup.c
+++ b/
arch/s390/kernel/setup.c
@@
-722,8
+722,13
@@
static void __init setup_hwcaps(void)
strcpy(elf_platform, "z990");
break;
case 0x2094:
+ case 0x2096:
strcpy(elf_platform, "z9-109");
break;
+ case 0x2097:
+ case 0x2098:
+ strcpy(elf_platform, "z10");
+ break;
}
}