[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>
This commit is contained in:
parent
0c668984dd
commit
80878d6c4a
1 changed files with 7 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue