summaryrefslogtreecommitdiffstats
path: root/arch/sh64
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-14 09:55:35 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-05-14 09:55:35 +0900
commit6c645ac72582bacb85b90a1cf88e81a13045aba4 (patch)
treea6101de4bd5426ebfb06b097749251ff6f9e98b2 /arch/sh64
parente827f20f1d34e91fbbb0df4674ddd8c3aad517da (diff)
downloadop-kernel-dev-6c645ac72582bacb85b90a1cf88e81a13045aba4.zip
op-kernel-dev-6c645ac72582bacb85b90a1cf88e81a13045aba4.tar.gz
sh64: generic quicklist support.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh64')
-rw-r--r--arch/sh64/Kconfig3
-rw-r--r--arch/sh64/mm/init.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh64/Kconfig b/arch/sh64/Kconfig
index e14b533..ff65420 100644
--- a/arch/sh64/Kconfig
+++ b/arch/sh64/Kconfig
@@ -17,6 +17,9 @@ config MMU
bool
default y
+config QUICKLIST
+ def_bool y
+
config RWSEM_GENERIC_SPINLOCK
bool
default y
diff --git a/arch/sh64/mm/init.c b/arch/sh64/mm/init.c
index 5dc0878..559717f 100644
--- a/arch/sh64/mm/init.c
+++ b/arch/sh64/mm/init.c
@@ -84,7 +84,7 @@ void show_mem(void)
printk("%d reserved pages\n",reserved);
printk("%d pages shared\n",shared);
printk("%d pages swap cached\n",cached);
- printk("%ld pages in page table cache\n",pgtable_cache_size);
+ printk("%ld pages in page table cache\n", quicklist_total_size());
}
/*
OpenPOWER on IntegriCloud