projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c66898
)
[ARM] Add setup_mm_for_reboot() for nommu
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Wed, 27 Sep 2006 14:43:47 +0000
(15:43 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 27 Sep 2006 14:43:47 +0000
(15:43 +0100)
Add an empty setup_mm_for_reboot() function for nommu machines.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/nommu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mm/nommu.c
b/arch/arm/mm/nommu.c
index e369aeb0c25c7fb8750f613f6895fcac11e2bc5a..d0e66424a59720886d81908643ba1431afdd609e 100644
(file)
--- 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));