summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/iseries/setup.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-11-30 01:46:22 +0100
committerPaul Mackerras <paulus@samba.org>2006-12-04 10:41:59 +0100
commit0470466dbafd1db0815bb884d26a6be431e19f96 (patch)
treee40c7ba8c3687dd33c09a137ecb06c5f9dccdb5e /arch/powerpc/platforms/iseries/setup.c
parent[POWERPC] Allow CONFIG_BOOTX_TEXT on iSeries (diff)
downloadlinux-0470466dbafd1db0815bb884d26a6be431e19f96.tar.xz
linux-0470466dbafd1db0815bb884d26a6be431e19f96.zip
[POWERPC] Fix cputable.h for combined build
Remove CPU_FTR_16M_PAGE from the cupfeatures mask at runtime on iSeries. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/iseries/setup.c')
-rw-r--r--arch/powerpc/platforms/iseries/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c
index 1796644ec7dc..bdf2afbb60c1 100644
--- a/arch/powerpc/platforms/iseries/setup.c
+++ b/arch/powerpc/platforms/iseries/setup.c
@@ -643,6 +643,8 @@ static int __init iseries_probe(void)
return 0;
hpte_init_iSeries();
+ /* iSeries does not support 16M pages */
+ cur_cpu_spec->cpu_features &= ~CPU_FTR_16M_PAGE;
return 1;
}