aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/process.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-08 11:55:21 +0900
committerPaul Mundt <lethal@hera.kernel.org>2007-05-09 01:35:00 +0000
commit5f8c9908f200b775a3d6c345bc6f3e928e2426a9 (patch)
tree0e7077bdc8fef01c54845b0ed5f524bb31324350 /arch/sh/kernel/process.c
parent36f021b579d195cdc5fa6f3e2bab198b4bf70643 (diff)
sh: generic quicklist support.
This moves SH over to the generic quicklists. As per x86_64, we have special mappings for the PGDs, so these go on their own list.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/process.c')
-rw-r--r--arch/sh/kernel/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index 329b3f3051d..4688b890aef 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -18,6 +18,7 @@
#include <asm/kdebug.h>
#include <asm/uaccess.h>
#include <asm/mmu_context.h>
+#include <asm/pgalloc.h>
#include <asm/ubc.h>
static int hlt_counter;
@@ -64,6 +65,7 @@ void cpu_idle(void)
preempt_enable_no_resched();
schedule();
preempt_disable();
+ check_pgt_cache();
}
}