-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Al Viro
committed
Aug 8, 2016
1 parent
fb2e6fd
commit e007c53
Showing
25 changed files
with
64 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/* EXPORT_DATA_SYMBOL != EXPORT_SYMBOL here */ | ||
#define KSYM_FUNC(name) @fptr(name) | ||
#include <asm-generic/export.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,11 @@ | ||
/* | ||
* Architecture-specific kernel symbols | ||
* | ||
* Don't put any exports here unless it's defined in an assembler file. | ||
* All other exports should be put directly after the definition. | ||
*/ | ||
|
||
#include <linux/module.h> | ||
|
||
#include <linux/string.h> | ||
EXPORT_SYMBOL(memset); | ||
EXPORT_SYMBOL(memcpy); | ||
EXPORT_SYMBOL(strlen); | ||
|
||
#include <asm/pgtable.h> | ||
EXPORT_SYMBOL_GPL(empty_zero_page); | ||
|
||
#include <asm/checksum.h> | ||
EXPORT_SYMBOL(ip_fast_csum); /* hand-coded assembly */ | ||
EXPORT_SYMBOL(csum_ipv6_magic); | ||
|
||
#include <asm/page.h> | ||
EXPORT_SYMBOL(clear_page); | ||
EXPORT_SYMBOL(copy_page); | ||
|
||
#ifdef CONFIG_VIRTUAL_MEM_MAP | ||
#include <linux/compiler.h> | ||
#include <linux/export.h> | ||
#include <linux/bootmem.h> | ||
EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */ | ||
EXPORT_SYMBOL(max_low_pfn); /* defined by bootmem.c, but not exported by generic code */ | ||
#endif | ||
|
||
#include <asm/processor.h> | ||
EXPORT_SYMBOL(ia64_cpu_info); | ||
#ifdef CONFIG_SMP | ||
EXPORT_SYMBOL(local_per_cpu_offset); | ||
#endif | ||
|
||
#include <asm/uaccess.h> | ||
EXPORT_SYMBOL(__copy_user); | ||
EXPORT_SYMBOL(__do_clear_user); | ||
EXPORT_SYMBOL(__strlen_user); | ||
EXPORT_SYMBOL(__strncpy_from_user); | ||
EXPORT_SYMBOL(__strnlen_user); | ||
|
||
/* from arch/ia64/lib */ | ||
extern void __divsi3(void); | ||
extern void __udivsi3(void); | ||
extern void __modsi3(void); | ||
extern void __umodsi3(void); | ||
extern void __divdi3(void); | ||
extern void __udivdi3(void); | ||
extern void __moddi3(void); | ||
extern void __umoddi3(void); | ||
|
||
EXPORT_SYMBOL(__divsi3); | ||
EXPORT_SYMBOL(__udivsi3); | ||
EXPORT_SYMBOL(__modsi3); | ||
EXPORT_SYMBOL(__umodsi3); | ||
EXPORT_SYMBOL(__divdi3); | ||
EXPORT_SYMBOL(__udivdi3); | ||
EXPORT_SYMBOL(__moddi3); | ||
EXPORT_SYMBOL(__umoddi3); | ||
|
||
#if defined(CONFIG_MD_RAID456) || defined(CONFIG_MD_RAID456_MODULE) | ||
extern void xor_ia64_2(void); | ||
extern void xor_ia64_3(void); | ||
extern void xor_ia64_4(void); | ||
extern void xor_ia64_5(void); | ||
|
||
EXPORT_SYMBOL(xor_ia64_2); | ||
EXPORT_SYMBOL(xor_ia64_3); | ||
EXPORT_SYMBOL(xor_ia64_4); | ||
EXPORT_SYMBOL(xor_ia64_5); | ||
#endif | ||
|
||
#include <asm/pal.h> | ||
EXPORT_SYMBOL(ia64_pal_call_phys_stacked); | ||
EXPORT_SYMBOL(ia64_pal_call_phys_static); | ||
EXPORT_SYMBOL(ia64_pal_call_stacked); | ||
EXPORT_SYMBOL(ia64_pal_call_static); | ||
EXPORT_SYMBOL(ia64_load_scratch_fpregs); | ||
EXPORT_SYMBOL(ia64_save_scratch_fpregs); | ||
|
||
#include <asm/unwind.h> | ||
EXPORT_SYMBOL(unw_init_running); | ||
|
||
#if defined(CONFIG_IA64_ESI) || defined(CONFIG_IA64_ESI_MODULE) | ||
extern void esi_call_phys (void); | ||
EXPORT_SYMBOL_GPL(esi_call_phys); | ||
#endif | ||
extern char ia64_ivt[]; | ||
EXPORT_SYMBOL(ia64_ivt); | ||
|
||
#include <asm/ftrace.h> | ||
#ifdef CONFIG_FUNCTION_TRACER | ||
/* mcount is defined in assembly */ | ||
EXPORT_SYMBOL(_mcount); | ||
#endif | ||
|
||
#include <asm/cacheflush.h> | ||
EXPORT_SYMBOL_GPL(flush_icache_range); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.