---
 arch/m68k/kernel/m68k_ksyms.c                      |   21 ++++---------------
 arch/m68k/kernel/{m68k_ksyms.c => m68k_ksyms_mm.c} |    0 
 .../m68k_ksyms.c => m68k/kernel/m68k_ksyms_no.c}   |    0 
 3 files changed, 5 insertions(+), 16 deletions(-)
 copy arch/m68k/kernel/{m68k_ksyms.c => m68k_ksyms_mm.c} (100%)
 copy arch/{m68knommu/kernel/m68k_ksyms.c => m68k/kernel/m68k_ksyms_no.c} (100%)

diff --git a/arch/m68k/kernel/m68k_ksyms.c b/arch/m68k/kernel/m68k_ksyms.c
index d900e77..4752c28 100644
--- a/arch/m68k/kernel/m68k_ksyms.c
+++ b/arch/m68k/kernel/m68k_ksyms.c
@@ -1,16 +1,5 @@
-#include <linux/module.h>
-
-asmlinkage long long __ashldi3 (long long, int);
-asmlinkage long long __ashrdi3 (long long, int);
-asmlinkage long long __lshrdi3 (long long, int);
-asmlinkage long long __muldi3 (long long, long long);
-
-/* The following are special because they're not called
-   explicitly (the C compiler generates them).  Fortunately,
-   their interface isn't gonna change any time soon now, so
-   it's OK to leave it out of version control.  */
-EXPORT_SYMBOL(__ashldi3);
-EXPORT_SYMBOL(__ashrdi3);
-EXPORT_SYMBOL(__lshrdi3);
-EXPORT_SYMBOL(__muldi3);
-
+#ifdef CONFIG_MMU
+#include "m68k_ksyms_mm.c"
+#else
+#include "m68k_ksyms_no.c"
+#endif
diff --git a/arch/m68k/kernel/m68k_ksyms.c b/arch/m68k/kernel/m68k_ksyms_mm.c
similarity index 100%
copy from arch/m68k/kernel/m68k_ksyms.c
copy to arch/m68k/kernel/m68k_ksyms_mm.c
diff --git a/arch/m68knommu/kernel/m68k_ksyms.c 
b/arch/m68k/kernel/m68k_ksyms_no.c
similarity index 100%
copy from arch/m68knommu/kernel/m68k_ksyms.c
copy to arch/m68k/kernel/m68k_ksyms_no.c
-- 
1.5.6.5

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to