summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom_init.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-05-16 17:46:10 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-05-16 17:46:10 +0200
commit716f8954fb3029ca2df52a986b60af8d06f093ee (patch)
treed5f983daab287e0a46ac2a76e78a13037b7ed9b6 /arch/powerpc/kernel/prom_init.c
parent[PATCH] slab: Fix kmem_cache_destroy() on NUMA (diff)
parent[PATCH] Fix pSeries identification in prom_init.c (diff)
downloadlinux-716f8954fb3029ca2df52a986b60af8d06f093ee.tar.xz
linux-716f8954fb3029ca2df52a986b60af8d06f093ee.zip
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
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r--arch/powerpc/kernel/prom_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index 078fb5533541..2d80653aa2af 100644
--- a/arch/powerpc/kernel/prom_init.c
+++ b/arch/powerpc/kernel/prom_init.c
@@ -1636,7 +1636,7 @@ static int __init prom_find_machine_type(void)
compat, sizeof(compat)-1);
if (len <= 0)
return PLATFORM_GENERIC;
- if (strncmp(compat, RELOC("chrp"), 4))
+ if (strcmp(compat, RELOC("chrp")))
return PLATFORM_GENERIC;
/* Default to pSeries. We need to know if we are running LPAR */