diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-17 07:13:41 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-08 05:55:50 +0200 |
commit | e007c53397acb5554e226693e3bff54a312ccd96 (patch) | |
tree | 9a0c2fa6fe5518593b6d3d1511e2b2c31360ce98 /arch/ia64/lib/ip_fast_csum.S | |
parent | sparc32: debride memcpy.S a bit (diff) | |
download | linux-e007c53397acb5554e226693e3bff54a312ccd96.tar.xz linux-e007c53397acb5554e226693e3bff54a312ccd96.zip |
ia64: move exports to definitions
Here we have another kind of deviation from the default case -
a difference between exporting functions and non-functions.
EXPORT_DATA_SYMBOL... is really different from EXPORT_SYMBOL...
on ia64, and we need to use the right one when moving exports
from *.c where C compiler has the required information to
*.S, where we need to supply it manually.
parisc64 will be another one like that.
Tested-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/ia64/lib/ip_fast_csum.S')
-rw-r--r-- | arch/ia64/lib/ip_fast_csum.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ia64/lib/ip_fast_csum.S b/arch/ia64/lib/ip_fast_csum.S index 620d9dc5220f..648e0d4a4839 100644 --- a/arch/ia64/lib/ip_fast_csum.S +++ b/arch/ia64/lib/ip_fast_csum.S @@ -13,6 +13,7 @@ */ #include <asm/asmmacro.h> +#include <asm/export.h> /* * Since we know that most likely this function is called with buf aligned @@ -92,6 +93,7 @@ GLOBAL_ENTRY(ip_fast_csum) mov b0=r34 br.ret.sptk.many b0 END(ip_fast_csum) +EXPORT_SYMBOL(ip_fast_csum) GLOBAL_ENTRY(csum_ipv6_magic) ld4 r20=[in0],4 @@ -142,3 +144,4 @@ GLOBAL_ENTRY(csum_ipv6_magic) andcm r8=r9,r8 br.ret.sptk.many b0 END(csum_ipv6_magic) +EXPORT_SYMBOL(csum_ipv6_magic) |