aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-09-27 15:43:47 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-27 15:43:47 +0100
commit80878d6c4ab8611a0edf139a7f8a7a64860b87c9 (patch)
treeaa3a0c17496453789f173f132b9b0d30293c373f /arch/arm
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')
-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 e369aeb0c25..d0e66424a59 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)
bootmem_init(mi);
}
+/*
+ * We don't need to do anything here for nommu machines.
+ */
+void setup_mm_for_reboot(char mode)
+{
+}
+
void flush_dcache_page(struct page *page)
{
__cpuc_flush_dcache_page(page_address(page));