m68k: move exports to definitions
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -13,6 +13,9 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details. */
|
||||
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/export.h>
|
||||
|
||||
#define BITS_PER_UNIT 8
|
||||
|
||||
typedef int SItype __attribute__ ((mode (SI)));
|
||||
@@ -55,3 +58,4 @@ __ashldi3 (DItype u, word_type b)
|
||||
|
||||
return w.ll;
|
||||
}
|
||||
EXPORT_SYMBOL(__ashldi3);
|
||||
|
@@ -13,6 +13,9 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details. */
|
||||
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/export.h>
|
||||
|
||||
#define BITS_PER_UNIT 8
|
||||
|
||||
typedef int SItype __attribute__ ((mode (SI)));
|
||||
@@ -56,3 +59,4 @@ __ashrdi3 (DItype u, word_type b)
|
||||
|
||||
return w.ll;
|
||||
}
|
||||
EXPORT_SYMBOL(__ashrdi3);
|
||||
|
@@ -33,6 +33,8 @@ General Public License for more details. */
|
||||
D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
|
||||
*/
|
||||
|
||||
#include <asm/export.h>
|
||||
|
||||
/* These are predefined by new versions of GNU cpp. */
|
||||
|
||||
#ifndef __USER_LABEL_PREFIX__
|
||||
@@ -118,3 +120,4 @@ L2: movel d1, sp@-
|
||||
L3: movel sp@+, d2
|
||||
rts
|
||||
|
||||
EXPORT_SYMBOL(__divsi3)
|
||||
|
@@ -13,6 +13,9 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details. */
|
||||
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/export.h>
|
||||
|
||||
#define BITS_PER_UNIT 8
|
||||
|
||||
typedef int SItype __attribute__ ((mode (SI)));
|
||||
@@ -55,3 +58,4 @@ __lshrdi3 (DItype u, word_type b)
|
||||
|
||||
return w.ll;
|
||||
}
|
||||
EXPORT_SYMBOL(__lshrdi3);
|
||||
|
@@ -33,6 +33,8 @@ General Public License for more details. */
|
||||
D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
|
||||
*/
|
||||
|
||||
#include <asm/export.h>
|
||||
|
||||
/* These are predefined by new versions of GNU cpp. */
|
||||
|
||||
#ifndef __USER_LABEL_PREFIX__
|
||||
@@ -106,3 +108,4 @@ SYM (__modsi3):
|
||||
movel d1, d0
|
||||
rts
|
||||
|
||||
EXPORT_SYMBOL(__modsi3)
|
||||
|
@@ -14,6 +14,9 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details. */
|
||||
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/export.h>
|
||||
|
||||
#ifdef CONFIG_CPU_HAS_NO_MULDIV64
|
||||
|
||||
#define SI_TYPE_SIZE 32
|
||||
@@ -90,3 +93,4 @@ __muldi3 (DItype u, DItype v)
|
||||
|
||||
return w.ll;
|
||||
}
|
||||
EXPORT_SYMBOL(__muldi3);
|
||||
|
@@ -32,7 +32,7 @@ General Public License for more details. */
|
||||
Some of this code comes from MINIX, via the folks at ericsson.
|
||||
D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
|
||||
*/
|
||||
|
||||
#include <asm/export.h>
|
||||
/* These are predefined by new versions of GNU cpp. */
|
||||
|
||||
#ifndef __USER_LABEL_PREFIX__
|
||||
@@ -102,4 +102,4 @@ SYM (__mulsi3):
|
||||
addl d1, d0
|
||||
|
||||
rts
|
||||
|
||||
EXPORT_SYMBOL(__mulsi3)
|
||||
|
@@ -32,7 +32,7 @@ General Public License for more details. */
|
||||
Some of this code comes from MINIX, via the folks at ericsson.
|
||||
D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
|
||||
*/
|
||||
|
||||
#include <asm/export.h>
|
||||
/* These are predefined by new versions of GNU cpp. */
|
||||
|
||||
#ifndef __USER_LABEL_PREFIX__
|
||||
@@ -154,4 +154,4 @@ L2: subql IMM (1),d4
|
||||
unlk a6 | and return
|
||||
rts
|
||||
#endif /* __mcf5200__ || __mcoldfire__ */
|
||||
|
||||
EXPORT_SYMBOL(__udivsi3)
|
||||
|
@@ -32,7 +32,7 @@ General Public License for more details. */
|
||||
Some of this code comes from MINIX, via the folks at ericsson.
|
||||
D. V. Henkel-Wallace (gumby@cygnus.com) Fete Bastille, 1992
|
||||
*/
|
||||
|
||||
#include <asm/export.h>
|
||||
/* These are predefined by new versions of GNU cpp. */
|
||||
|
||||
#ifndef __USER_LABEL_PREFIX__
|
||||
@@ -105,4 +105,4 @@ SYM (__umodsi3):
|
||||
subl d0, d1 /* d1 = a - (a/b)*b */
|
||||
movel d1, d0
|
||||
rts
|
||||
|
||||
EXPORT_SYMBOL(__umodsi3)
|
||||
|
Referens i nytt ärende
Block a user