Commit 80878d6c authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Add setup_mm_for_reboot() for nommu

Add an empty setup_mm_for_reboot() function for nommu machines.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 0c668984
...@@ -47,6 +47,13 @@ void __init paging_init(struct meminfo *mi, struct machine_desc *mdesc) ...@@ -47,6 +47,13 @@ void __init paging_init(struct meminfo *mi, struct machine_desc *mdesc)
bootmem_init(mi); 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) void flush_dcache_page(struct page *page)
{ {
__cpuc_flush_dcache_page(page_address(page)); __cpuc_flush_dcache_page(page_address(page));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment