summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-09-27 16:43:47 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-27 16:43:47 +0200
commit80878d6c4ab8611a0edf139a7f8a7a64860b87c9 (patch)
treeaa3a0c17496453789f173f132b9b0d30293c373f /arch/arm
parent[ARM] Rename mm-armv.c to pgd.c (diff)
downloadlinux-80878d6c4ab8611a0edf139a7f8a7a64860b87c9.tar.xz
linux-80878d6c4ab8611a0edf139a7f8a7a64860b87c9.zip
[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 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)
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));