]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh: Export __{s,u}divsi3_i4i on all CPUs.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 6 Nov 2007 08:15:57 +0000 (17:15 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 7 Nov 2007 02:13:55 +0000 (11:13 +0900)
Currently these are only being exported for CONFIG_CPU_SH4. This
invariably breaks when building for an SH-3 that includes multiple
targets in multilib.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/sh_ksyms.c

index 548e4285b37569e82e731dd5ba1f8e79dff45739..e1a6de9088b5bde648fcae3f8ab0e9fcf89cb158 100644 (file)
@@ -106,7 +106,6 @@ DECLARE_EXPORT(__movmem);
 DECLARE_EXPORT(__movstr);
 #endif
 
-#ifdef CONFIG_CPU_SH4
 #if __GNUC__ == 4
 DECLARE_EXPORT(__movmem_i4_even);
 DECLARE_EXPORT(__movmem_i4_odd);
@@ -126,7 +125,6 @@ DECLARE_EXPORT(__movstr_i4_even);
 DECLARE_EXPORT(__movstr_i4_odd);
 DECLARE_EXPORT(__movstrSI12_i4);
 #endif /* __GNUC__ == 4 */
-#endif
 
 #if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \
        defined(CONFIG_SH7705_CACHE_32KB))