]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/sh/kernel/sh_ksyms.c
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-serial
[mirror_ubuntu-hirsute-kernel.git] / arch / sh / kernel / sh_ksyms.c
CommitLineData
1da177e4
LT
1#include <linux/module.h>
2#include <linux/smp.h>
3#include <linux/user.h>
4#include <linux/elfcore.h>
5#include <linux/sched.h>
6#include <linux/in6.h>
7#include <linux/interrupt.h>
8#include <linux/smp_lock.h>
9#include <linux/vmalloc.h>
10#include <linux/pci.h>
11#include <linux/irq.h>
12
13#include <asm/semaphore.h>
14#include <asm/processor.h>
15#include <asm/uaccess.h>
16#include <asm/checksum.h>
17#include <asm/io.h>
18#include <asm/delay.h>
19#include <asm/tlbflush.h>
20#include <asm/cacheflush.h>
21#include <asm/checksum.h>
22
1da177e4
LT
23extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
24extern struct hw_interrupt_type no_irq_type;
25
26EXPORT_SYMBOL(sh_mv);
27
28/* platform dependent support */
1da177e4 29EXPORT_SYMBOL(dump_fpu);
1da177e4 30EXPORT_SYMBOL(kernel_thread);
1da177e4
LT
31EXPORT_SYMBOL(irq_desc);
32EXPORT_SYMBOL(no_irq_type);
33
1da177e4 34EXPORT_SYMBOL(strlen);
1da177e4
LT
35
36/* PCI exports */
37#ifdef CONFIG_PCI
38EXPORT_SYMBOL(pci_alloc_consistent);
39EXPORT_SYMBOL(pci_free_consistent);
40#endif
41
42/* mem exports */
43EXPORT_SYMBOL(memchr);
44EXPORT_SYMBOL(memcpy);
1da177e4 45EXPORT_SYMBOL(memset);
1da177e4 46EXPORT_SYMBOL(memmove);
1da177e4
LT
47EXPORT_SYMBOL(__copy_user);
48EXPORT_SYMBOL(boot_cpu_data);
49
50#ifdef CONFIG_MMU
51EXPORT_SYMBOL(get_vm_area);
52#endif
53
54/* semaphore exports */
55EXPORT_SYMBOL(__up);
56EXPORT_SYMBOL(__down);
57EXPORT_SYMBOL(__down_interruptible);
58
59EXPORT_SYMBOL(__udelay);
60EXPORT_SYMBOL(__ndelay);
61EXPORT_SYMBOL(__const_udelay);
62
63EXPORT_SYMBOL(__div64_32);
64
65#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
66
67/* These symbols are generated by the compiler itself */
68DECLARE_EXPORT(__udivsi3);
69DECLARE_EXPORT(__udivdi3);
70DECLARE_EXPORT(__sdivsi3);
71DECLARE_EXPORT(__ashrdi3);
72DECLARE_EXPORT(__ashldi3);
73DECLARE_EXPORT(__lshrdi3);
74DECLARE_EXPORT(__movstr);
711fa809 75DECLARE_EXPORT(__movstrSI16);
1da177e4
LT
76
77EXPORT_SYMBOL(strcpy);
78
79#ifdef CONFIG_CPU_SH4
80DECLARE_EXPORT(__movstr_i4_even);
81DECLARE_EXPORT(__movstr_i4_odd);
82DECLARE_EXPORT(__movstrSI12_i4);
a2d1a5fa 83#endif
1da177e4 84
a2d1a5fa 85#if defined(CONFIG_CPU_SH4) || defined(CONFIG_SH7705_CACHE_32KB)
1da177e4
LT
86/* needed by some modules */
87EXPORT_SYMBOL(flush_cache_all);
88EXPORT_SYMBOL(flush_cache_range);
89EXPORT_SYMBOL(flush_dcache_page);
90EXPORT_SYMBOL(__flush_purge_region);
91#endif
92
e5723e0e
PM
93#if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \
94 defined(CONFIG_SH7705_CACHE_32KB))
a2d1a5fa 95EXPORT_SYMBOL(clear_user_page);
1da177e4
LT
96#endif
97
98EXPORT_SYMBOL(flush_tlb_page);
99EXPORT_SYMBOL(__down_trylock);
100
101#ifdef CONFIG_SMP
102EXPORT_SYMBOL(synchronize_irq);
103#endif
104
3aa770e7
AS
105#ifdef CONFIG_PM
106EXPORT_SYMBOL(pm_suspend);
107#endif
108
1da177e4 109EXPORT_SYMBOL(csum_partial);
e4c2cfee 110#ifdef CONFIG_IPV6
1da177e4 111EXPORT_SYMBOL(csum_ipv6_magic);
e4c2cfee 112#endif
1da177e4 113EXPORT_SYMBOL(clear_page);