mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
[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
@ -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 New Issue
Block a user