[ARM] 4502/1: nommu: Do not export the copy/clear user page functions
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mm / proc-syms.c
index 9f396b4fa0b7c67f95de6deb5a6c2a684f264f60..2b5ba396e3a63ee455e6b73bfff9176c78aef029 100644 (file)
@@ -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