| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * Architecture-specific kernel symbols | 
|  | 3 | * | 
|  | 4 | * Don't put any exports here unless it's defined in an assembler file. | 
|  | 5 | * All other exports should be put directly after the definition. | 
|  | 6 | */ | 
|  | 7 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #include <linux/module.h> | 
|  | 9 |  | 
|  | 10 | #include <linux/string.h> | 
|  | 11 | EXPORT_SYMBOL(memset); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | EXPORT_SYMBOL(memcpy); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | EXPORT_SYMBOL(strlen); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 |  | 
| Zhang, Xiantao | a7d57ec | 2008-02-04 15:46:23 -0800 | [diff] [blame] | 15 | #include<asm/pgtable.h> | 
|  | 16 | EXPORT_SYMBOL_GPL(empty_zero_page); | 
|  | 17 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | #include <asm/checksum.h> | 
|  | 19 | EXPORT_SYMBOL(ip_fast_csum);		/* hand-coded assembly */ | 
| Tony Luck | a5f8ee0 | 2006-12-07 13:18:57 -0800 | [diff] [blame] | 20 | EXPORT_SYMBOL(csum_ipv6_magic); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | #include <asm/page.h> | 
|  | 23 | EXPORT_SYMBOL(clear_page); | 
|  | 24 |  | 
|  | 25 | #ifdef CONFIG_VIRTUAL_MEM_MAP | 
|  | 26 | #include <linux/bootmem.h> | 
| Dean Roe | b77dae5 | 2005-11-09 14:25:06 -0600 | [diff] [blame] | 27 | EXPORT_SYMBOL(min_low_pfn);	/* defined by bootmem.c, but not exported by generic code */ | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | EXPORT_SYMBOL(max_low_pfn);	/* defined by bootmem.c, but not exported by generic code */ | 
|  | 29 | #endif | 
|  | 30 |  | 
|  | 31 | #include <asm/processor.h> | 
|  | 32 | EXPORT_SYMBOL(per_cpu__cpu_info); | 
|  | 33 | #ifdef CONFIG_SMP | 
|  | 34 | EXPORT_SYMBOL(per_cpu__local_per_cpu_offset); | 
|  | 35 | #endif | 
|  | 36 |  | 
|  | 37 | #include <asm/uaccess.h> | 
|  | 38 | EXPORT_SYMBOL(__copy_user); | 
|  | 39 | EXPORT_SYMBOL(__do_clear_user); | 
|  | 40 | EXPORT_SYMBOL(__strlen_user); | 
|  | 41 | EXPORT_SYMBOL(__strncpy_from_user); | 
|  | 42 | EXPORT_SYMBOL(__strnlen_user); | 
|  | 43 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | /* from arch/ia64/lib */ | 
|  | 45 | extern void __divsi3(void); | 
|  | 46 | extern void __udivsi3(void); | 
|  | 47 | extern void __modsi3(void); | 
|  | 48 | extern void __umodsi3(void); | 
|  | 49 | extern void __divdi3(void); | 
|  | 50 | extern void __udivdi3(void); | 
|  | 51 | extern void __moddi3(void); | 
|  | 52 | extern void __umoddi3(void); | 
|  | 53 |  | 
|  | 54 | EXPORT_SYMBOL(__divsi3); | 
|  | 55 | EXPORT_SYMBOL(__udivsi3); | 
|  | 56 | EXPORT_SYMBOL(__modsi3); | 
|  | 57 | EXPORT_SYMBOL(__umodsi3); | 
|  | 58 | EXPORT_SYMBOL(__divdi3); | 
|  | 59 | EXPORT_SYMBOL(__udivdi3); | 
|  | 60 | EXPORT_SYMBOL(__moddi3); | 
|  | 61 | EXPORT_SYMBOL(__umoddi3); | 
|  | 62 |  | 
| Andrew Morton | bdc2619 | 2007-12-07 16:10:19 -0800 | [diff] [blame] | 63 | #include <asm/page.h> | 
|  | 64 | EXPORT_SYMBOL(copy_page); | 
|  | 65 |  | 
| Prarit Bhargava | 0a69ca9 | 2006-07-31 09:12:11 -0400 | [diff] [blame] | 66 | #if defined(CONFIG_MD_RAID456) || defined(CONFIG_MD_RAID456_MODULE) | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 67 | extern void xor_ia64_2(void); | 
|  | 68 | extern void xor_ia64_3(void); | 
|  | 69 | extern void xor_ia64_4(void); | 
|  | 70 | extern void xor_ia64_5(void); | 
|  | 71 |  | 
|  | 72 | EXPORT_SYMBOL(xor_ia64_2); | 
|  | 73 | EXPORT_SYMBOL(xor_ia64_3); | 
|  | 74 | EXPORT_SYMBOL(xor_ia64_4); | 
|  | 75 | EXPORT_SYMBOL(xor_ia64_5); | 
|  | 76 | #endif | 
|  | 77 |  | 
|  | 78 | #include <asm/pal.h> | 
|  | 79 | EXPORT_SYMBOL(ia64_pal_call_phys_stacked); | 
|  | 80 | EXPORT_SYMBOL(ia64_pal_call_phys_static); | 
|  | 81 | EXPORT_SYMBOL(ia64_pal_call_stacked); | 
|  | 82 | EXPORT_SYMBOL(ia64_pal_call_static); | 
|  | 83 | EXPORT_SYMBOL(ia64_load_scratch_fpregs); | 
|  | 84 | EXPORT_SYMBOL(ia64_save_scratch_fpregs); | 
|  | 85 |  | 
|  | 86 | #include <asm/unwind.h> | 
|  | 87 | EXPORT_SYMBOL(unw_init_running); | 
|  | 88 |  | 
|  | 89 | #ifdef ASM_SUPPORTED | 
|  | 90 | # ifdef CONFIG_SMP | 
| Andrew Morton | a136564 | 2006-01-08 01:04:09 -0800 | [diff] [blame] | 91 | #  if (__GNUC__ == 3 && __GNUC_MINOR__ < 3) | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 92 | /* | 
|  | 93 | * This is not a normal routine and we don't want a function descriptor for it, so we use | 
|  | 94 | * a fake declaration here. | 
|  | 95 | */ | 
|  | 96 | extern char ia64_spinlock_contention_pre3_4; | 
|  | 97 | EXPORT_SYMBOL(ia64_spinlock_contention_pre3_4); | 
|  | 98 | #  else | 
|  | 99 | /* | 
|  | 100 | * This is not a normal routine and we don't want a function descriptor for it, so we use | 
|  | 101 | * a fake declaration here. | 
|  | 102 | */ | 
|  | 103 | extern char ia64_spinlock_contention; | 
|  | 104 | EXPORT_SYMBOL(ia64_spinlock_contention); | 
|  | 105 | #  endif | 
|  | 106 | # endif | 
|  | 107 | #endif | 
|  | 108 |  | 
| David Mosberger-Tang | 2ab561a | 2006-06-21 11:19:22 -0700 | [diff] [blame] | 109 | #if defined(CONFIG_IA64_ESI) || defined(CONFIG_IA64_ESI_MODULE) | 
|  | 110 | extern void esi_call_phys (void); | 
|  | 111 | EXPORT_SYMBOL_GPL(esi_call_phys); | 
|  | 112 | #endif | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 113 | extern char ia64_ivt[]; | 
|  | 114 | EXPORT_SYMBOL(ia64_ivt); |