aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/nommu.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-09-27 10:43:47 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-27 10:43:47 -0400
commit80878d6c4ab8611a0edf139a7f8a7a64860b87c9 (patch)
treeaa3a0c17496453789f173f132b9b0d30293c373f /arch/arm/mm/nommu.c
parent0c668984ddff94f800b37f244d7b21074b04b971 (diff)
[ARM] Add setup_mm_for_reboot() for nommu
Add an empty setup_mm_for_reboot() function for nommu machines. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/nommu.c')
-rw-r--r--arch/arm/mm/nommu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c
index e369aeb0c25c..d0e66424a597 100644
--- a/arch/arm/mm/nommu.c
+++ b/arch/arm/mm/nommu.c
@@ -47,6 +47,13 @@ void __init paging_init(struct meminfo *mi, struct machine_desc *mdesc)
47 bootmem_init(mi); 47 bootmem_init(mi);
48} 48}
49 49
50/*
51 * We don't need to do anything here for nommu machines.
52 */
53void setup_mm_for_reboot(char mode)
54{
55}
56
50void flush_dcache_page(struct page *page) 57void flush_dcache_page(struct page *page)
51{ 58{
52 __cpuc_flush_dcache_page(page_address(page)); 59 __cpuc_flush_dcache_page(page_address(page));