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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user