diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/sh/mm/Kconfig | 3 | ||||
-rw-r--r-- | arch/sh/mm/init.c | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c index 329b3f3051de..4688b890aef8 100644 --- a/arch/sh/kernel/process.c +++ b/arch/sh/kernel/process.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <asm/kdebug.h> | 18 | #include <asm/kdebug.h> |
19 | #include <asm/uaccess.h> | 19 | #include <asm/uaccess.h> |
20 | #include <asm/mmu_context.h> | 20 | #include <asm/mmu_context.h> |
21 | #include <asm/pgalloc.h> | ||
21 | #include <asm/ubc.h> | 22 | #include <asm/ubc.h> |
22 | 23 | ||
23 | static int hlt_counter; | 24 | static int hlt_counter; |
@@ -64,6 +65,7 @@ void cpu_idle(void) | |||
64 | preempt_enable_no_resched(); | 65 | preempt_enable_no_resched(); |
65 | schedule(); | 66 | schedule(); |
66 | preempt_disable(); | 67 | preempt_disable(); |
68 | check_pgt_cache(); | ||
67 | } | 69 | } |
68 | } | 70 | } |
69 | 71 | ||
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 12f3d394dc28..b773361892c9 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -218,6 +218,9 @@ endmenu | |||
218 | 218 | ||
219 | menu "Memory management options" | 219 | menu "Memory management options" |
220 | 220 | ||
221 | config QUICKLIST | ||
222 | def_bool y | ||
223 | |||
221 | config MMU | 224 | config MMU |
222 | bool "Support for memory management hardware" | 225 | bool "Support for memory management hardware" |
223 | depends on !CPU_SH2 | 226 | depends on !CPU_SH2 |
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index 4d030988b368..8fe223a890ed 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c | |||
@@ -67,6 +67,8 @@ void show_mem(void) | |||
67 | printk("%d slab pages\n", slab); | 67 | printk("%d slab pages\n", slab); |
68 | printk("%d pages shared\n", shared); | 68 | printk("%d pages shared\n", shared); |
69 | printk("%d pages swap cached\n", cached); | 69 | printk("%d pages swap cached\n", cached); |
70 | printk(KERN_INFO "Total of %ld pages in page table cache\n", | ||
71 | quicklist_total_size()); | ||
70 | } | 72 | } |
71 | 73 | ||
72 | #ifdef CONFIG_MMU | 74 | #ifdef CONFIG_MMU |