summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/vdso.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-03-21 18:23:27 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-28 11:33:23 +1100
commit1d9a47315042606b4217691bcea36cfa6ccbde66 (patch)
tree1c60e6588e0394cc9eaebf22c377803eec1590c5 /arch/powerpc/kernel/vdso.c
parent7ba3e4f5877466b0f81dcd3cb78db5d75b267645 (diff)
downloadlinux-1d9a47315042606b4217691bcea36cfa6ccbde66.tar.gz
linux-1d9a47315042606b4217691bcea36cfa6ccbde66.tar.bz2
linux-1d9a47315042606b4217691bcea36cfa6ccbde66.zip
powerpc: Random little legacy iSeries removal tidy ups
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/vdso.c')
-rw-r--r--arch/powerpc/kernel/vdso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c
index d36ee1055f88..972cca278f98 100644
--- a/arch/powerpc/kernel/vdso.c
+++ b/arch/powerpc/kernel/vdso.c
@@ -721,10 +721,10 @@ static int __init vdso_init(void)
vdso_data->version.minor = SYSTEMCFG_MINOR;
vdso_data->processor = mfspr(SPRN_PVR);
/*
- * Fake the old platform number for pSeries and iSeries and add
+ * Fake the old platform number for pSeries and add
* in LPAR bit if necessary
*/
- vdso_data->platform = machine_is(iseries) ? 0x200 : 0x100;
+ vdso_data->platform = 0x100;
if (firmware_has_feature(FW_FEATURE_LPAR))
vdso_data->platform |= 1;
vdso_data->physicalMemorySize = memblock_phys_mem_size();