Skip to content

Commit

Permalink
[ARM] Add setup_mm_for_reboot() for nommu
Browse files Browse the repository at this point in the history
Add an empty setup_mm_for_reboot() function for nommu machines.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Sep 27, 2006
1 parent 0c66898 commit 80878d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 80878d6

Please sign in to comment.