summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/early.c
diff options
context:
space:
mode:
authorGerald Schaefer2012-08-21 12:36:34 +0200
committerMartin Schwidefsky2012-09-26 15:44:50 +0200
commit648609e3f24599a5ad8d53df2ec13fbc37810bcc (patch)
treebd8a7694f53ab33a8c85cf52313905fa4f59454e /arch/s390/kernel/early.c
parents390/string: provide asm lib functions for memcpy and memcmp (diff)
downloadkernel-qcow2-linux-648609e3f24599a5ad8d53df2ec13fbc37810bcc.tar.gz
kernel-qcow2-linux-648609e3f24599a5ad8d53df2ec13fbc37810bcc.tar.xz
kernel-qcow2-linux-648609e3f24599a5ad8d53df2ec13fbc37810bcc.zip
s390: enable large page support with CONFIG_DEBUG_PAGEALLOC
So far, large page support was completely disabled with CONFIG_DEBUG_PAGEALLOC, although it would be sufficient if only the large page kernel mapping was disabled. This patch enables large page support with CONFIG_DEBUG_PAGEALLOC, while it prevents the large kernel mapping in that case. Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/early.c')
-rw-r--r--arch/s390/kernel/early.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c
index 83c3271c442b..e48407962b0f 100644
--- a/arch/s390/kernel/early.c
+++ b/arch/s390/kernel/early.c
@@ -267,12 +267,10 @@ static noinline __init void setup_facility_list(void)
static noinline __init void setup_hpage(void)
{
-#ifndef CONFIG_DEBUG_PAGEALLOC
if (!test_facility(2) || !test_facility(8))
return;
S390_lowcore.machine_flags |= MACHINE_FLAG_HPAGE;
__ctl_set_bit(0, 23);
-#endif
}
static __init void detect_mvpg(void)