From: Catalin Marinas Date: Fri, 20 Jul 2007 10:42:46 +0000 (+0100) Subject: [ARM] 4502/1: nommu: Do not export the copy/clear user page functions X-Git-Tag: v2.6.23-rc1~8^2^6~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2a0cc6885f34a8f1de195f718b9f51ece6923b80;p=linux-2.6-block.git [ARM] 4502/1: nommu: Do not export the copy/clear user page functions The __cpu_{clear|copy}_user_page functions are not defined for the MMU-less case and therefore should not be exported. Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- diff --git a/arch/arm/mm/proc-syms.c b/arch/arm/mm/proc-syms.c index 9f396b4fa0b7..2b5ba396e3a6 100644 --- a/arch/arm/mm/proc-syms.c +++ b/arch/arm/mm/proc-syms.c @@ -31,12 +31,14 @@ EXPORT_SYMBOL(__cpuc_coherent_kern_range); EXPORT_SYMBOL(cpu_cache); #endif +#ifdef CONFIG_MMU #ifndef MULTI_USER EXPORT_SYMBOL(__cpu_clear_user_page); EXPORT_SYMBOL(__cpu_copy_user_page); #else EXPORT_SYMBOL(cpu_user); #endif +#endif /* * No module should need to touch the TLB (and currently