From: Paul Mundt Date: Wed, 6 Jan 2010 05:45:14 +0000 (+0900) Subject: sh: Fix up nommu build for out-of-line pgtable changes. X-Git-Tag: firefly_0821_release~9833^2~3107^2~147 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=56d45b62ce622a003da972428fdbba2b42102efb;p=firefly-linux-kernel-4.4.55.git sh: Fix up nommu build for out-of-line pgtable changes. pgtable_cache_init() has been moved out-of-line, so we also need a dummy definition for it on nommu to fix up the build. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/mm/nommu.c b/arch/sh/mm/nommu.c index ac16c05917ef..7694f50c9034 100644 --- a/arch/sh/mm/nommu.c +++ b/arch/sh/mm/nommu.c @@ -94,3 +94,7 @@ void __init page_table_range_init(unsigned long start, unsigned long end, void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) { } + +void pgtable_cache_init(void) +{ +}