Skip to content

Commit 716f895

Browse files
author
Linus Torvalds
committed
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: [PATCH] Fix pSeries identification in prom_init.c [PATCH] powerpc: fix kernel version display on pseries boxes
2 parents a4523a8 + cb6b2eb commit 716f895

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/powerpc/kernel/prom_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,7 @@ static int __init prom_find_machine_type(void)
16361636
compat, sizeof(compat)-1);
16371637
if (len <= 0)
16381638
return PLATFORM_GENERIC;
1639-
if (strncmp(compat, RELOC("chrp"), 4))
1639+
if (strcmp(compat, RELOC("chrp")))
16401640
return PLATFORM_GENERIC;
16411641

16421642
/* Default to pSeries. We need to know if we are running LPAR */

arch/powerpc/platforms/pseries/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ static int __init pSeries_init_panel(void)
255255
{
256256
/* Manually leave the kernel version on the panel. */
257257
ppc_md.progress("Linux ppc64\n", 0);
258-
ppc_md.progress(system_utsname.version, 0);
258+
ppc_md.progress(system_utsname.release, 0);
259259

260260
return 0;
261261
}

0 commit comments

Comments
 (0)