blob: 5b7791dd396556fc15827e895b43e2bace1a6bd1 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 Torvalds1da177e2005-04-16 15:20:36 -07008#include <linux/module.h>
9
10#include <linux/string.h>
11EXPORT_SYMBOL(memset);
Linus Torvalds1da177e2005-04-16 15:20:36 -070012EXPORT_SYMBOL(memcpy);
Linus Torvalds1da177e2005-04-16 15:20:36 -070013EXPORT_SYMBOL(strlen);
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
Paul Bolle6ac7d112012-06-06 14:17:46 +020015#include <asm/pgtable.h>
Zhang, Xiantaoa7d57ec2008-02-04 15:46:23 -080016EXPORT_SYMBOL_GPL(empty_zero_page);
17
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#include <asm/checksum.h>
19EXPORT_SYMBOL(ip_fast_csum); /* hand-coded assembly */
Tony Lucka5f8ee02006-12-07 13:18:57 -080020EXPORT_SYMBOL(csum_ipv6_magic);
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#include <asm/page.h>
23EXPORT_SYMBOL(clear_page);
Jaswinder Singh Rajputcfa5f802009-08-11 14:52:10 -070024EXPORT_SYMBOL(copy_page);
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
26#ifdef CONFIG_VIRTUAL_MEM_MAP
27#include <linux/bootmem.h>
Dean Roeb77dae522005-11-09 14:25:06 -060028EXPORT_SYMBOL(min_low_pfn); /* defined by bootmem.c, but not exported by generic code */
Linus Torvalds1da177e2005-04-16 15:20:36 -070029EXPORT_SYMBOL(max_low_pfn); /* defined by bootmem.c, but not exported by generic code */
30#endif
31
32#include <asm/processor.h>
Rusty Russelldd17c8f2009-10-29 22:34:15 +090033EXPORT_SYMBOL(ia64_cpu_info);
Linus Torvalds1da177e2005-04-16 15:20:36 -070034#ifdef CONFIG_SMP
Rusty Russelldd17c8f2009-10-29 22:34:15 +090035EXPORT_SYMBOL(local_per_cpu_offset);
Linus Torvalds1da177e2005-04-16 15:20:36 -070036#endif
37
38#include <asm/uaccess.h>
39EXPORT_SYMBOL(__copy_user);
40EXPORT_SYMBOL(__do_clear_user);
41EXPORT_SYMBOL(__strlen_user);
42EXPORT_SYMBOL(__strncpy_from_user);
43EXPORT_SYMBOL(__strnlen_user);
44
Linus Torvalds1da177e2005-04-16 15:20:36 -070045/* from arch/ia64/lib */
46extern void __divsi3(void);
47extern void __udivsi3(void);
48extern void __modsi3(void);
49extern void __umodsi3(void);
50extern void __divdi3(void);
51extern void __udivdi3(void);
52extern void __moddi3(void);
53extern void __umoddi3(void);
54
55EXPORT_SYMBOL(__divsi3);
56EXPORT_SYMBOL(__udivsi3);
57EXPORT_SYMBOL(__modsi3);
58EXPORT_SYMBOL(__umodsi3);
59EXPORT_SYMBOL(__divdi3);
60EXPORT_SYMBOL(__udivdi3);
61EXPORT_SYMBOL(__moddi3);
62EXPORT_SYMBOL(__umoddi3);
63
Prarit Bhargava0a69ca92006-07-31 09:12:11 -040064#if defined(CONFIG_MD_RAID456) || defined(CONFIG_MD_RAID456_MODULE)
Linus Torvalds1da177e2005-04-16 15:20:36 -070065extern void xor_ia64_2(void);
66extern void xor_ia64_3(void);
67extern void xor_ia64_4(void);
68extern void xor_ia64_5(void);
69
70EXPORT_SYMBOL(xor_ia64_2);
71EXPORT_SYMBOL(xor_ia64_3);
72EXPORT_SYMBOL(xor_ia64_4);
73EXPORT_SYMBOL(xor_ia64_5);
74#endif
75
76#include <asm/pal.h>
77EXPORT_SYMBOL(ia64_pal_call_phys_stacked);
78EXPORT_SYMBOL(ia64_pal_call_phys_static);
79EXPORT_SYMBOL(ia64_pal_call_stacked);
80EXPORT_SYMBOL(ia64_pal_call_static);
81EXPORT_SYMBOL(ia64_load_scratch_fpregs);
82EXPORT_SYMBOL(ia64_save_scratch_fpregs);
83
84#include <asm/unwind.h>
85EXPORT_SYMBOL(unw_init_running);
86
David Mosberger-Tang2ab561a2006-06-21 11:19:22 -070087#if defined(CONFIG_IA64_ESI) || defined(CONFIG_IA64_ESI_MODULE)
88extern void esi_call_phys (void);
89EXPORT_SYMBOL_GPL(esi_call_phys);
90#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070091extern char ia64_ivt[];
92EXPORT_SYMBOL(ia64_ivt);
Shaohua Lid3e75ff2009-01-09 11:29:46 +080093
94#include <asm/ftrace.h>
95#ifdef CONFIG_FUNCTION_TRACER
96/* mcount is defined in assembly */
97EXPORT_SYMBOL(_mcount);
98#endif