summaryrefslogtreecommitdiff
path: root/arch/ia64/lib/copy_page_mck.S
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-17 09:13:41 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-08-08 06:55:50 +0300
commite007c53397acb5554e226693e3bff54a312ccd96 (patch)
tree9a0c2fa6fe5518593b6d3d1511e2b2c31360ce98 /arch/ia64/lib/copy_page_mck.S
parentfb2e6fdbbdaeb94745712a7b18b628c4349de08f (diff)
downloadlinux-e007c53397acb5554e226693e3bff54a312ccd96.tar.xz
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/copy_page_mck.S')
-rw-r--r--arch/ia64/lib/copy_page_mck.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/lib/copy_page_mck.S b/arch/ia64/lib/copy_page_mck.S
index 3c45d60a81b4..c13f69036876 100644
--- a/arch/ia64/lib/copy_page_mck.S
+++ b/arch/ia64/lib/copy_page_mck.S
@@ -61,6 +61,7 @@
*/
#include <asm/asmmacro.h>
#include <asm/page.h>
+#include <asm/export.h>
#define PREFETCH_DIST 8 // McKinley sustains 16 outstanding L2 misses (8 ld, 8 st)
@@ -183,3 +184,4 @@ GLOBAL_ENTRY(copy_page)
mov pr = saved_pr, -1
br.ret.sptk.many rp
END(copy_page)
+EXPORT_SYMBOL(copy_page)