From: Russell King Date: Wed, 27 Sep 2006 14:43:47 +0000 (+0100) Subject: [ARM] Add setup_mm_for_reboot() for nommu X-Git-Tag: v2.6.19-rc1~885^2^2~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80878d6c4ab8611a0edf139a7f8a7a64860b87c9;p=linux-2.6 [ARM] Add setup_mm_for_reboot() for nommu Add an empty setup_mm_for_reboot() function for nommu machines. Signed-off-by: Russell King --- diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index e369aeb0c2..d0e66424a5 100644 --- 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));