]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/sh/kernel/sh_ksyms.c
sh: Free up some and document PTEL flags.
[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
LT
30EXPORT_SYMBOL(enable_irq);
31EXPORT_SYMBOL(disable_irq);
32EXPORT_SYMBOL(probe_irq_mask);
33EXPORT_SYMBOL(kernel_thread);
34EXPORT_SYMBOL(disable_irq_nosync);
35EXPORT_SYMBOL(irq_desc);
36EXPORT_SYMBOL(no_irq_type);
37
1da177e4
LT
38EXPORT_SYMBOL(strstr);
39EXPORT_SYMBOL(strlen);
40EXPORT_SYMBOL(strnlen);
41EXPORT_SYMBOL(strchr);
42EXPORT_SYMBOL(strcat);
43EXPORT_SYMBOL(strncat);
44
45/* PCI exports */
46#ifdef CONFIG_PCI
47EXPORT_SYMBOL(pci_alloc_consistent);
48EXPORT_SYMBOL(pci_free_consistent);
49#endif
50
51/* mem exports */
52EXPORT_SYMBOL(memchr);
53EXPORT_SYMBOL(memcpy);
54EXPORT_SYMBOL(memcpy_fromio);
55EXPORT_SYMBOL(memcpy_toio);
56EXPORT_SYMBOL(memset);
57EXPORT_SYMBOL(memset_io);
58EXPORT_SYMBOL(memmove);
59EXPORT_SYMBOL(memcmp);
60EXPORT_SYMBOL(memscan);
61EXPORT_SYMBOL(__copy_user);
62EXPORT_SYMBOL(boot_cpu_data);
63
64#ifdef CONFIG_MMU
65EXPORT_SYMBOL(get_vm_area);
66#endif
67
68/* semaphore exports */
69EXPORT_SYMBOL(__up);
70EXPORT_SYMBOL(__down);
71EXPORT_SYMBOL(__down_interruptible);
72
73EXPORT_SYMBOL(__udelay);
74EXPORT_SYMBOL(__ndelay);
75EXPORT_SYMBOL(__const_udelay);
76
77EXPORT_SYMBOL(__div64_32);
78
79#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
80
81/* These symbols are generated by the compiler itself */
82DECLARE_EXPORT(__udivsi3);
83DECLARE_EXPORT(__udivdi3);
84DECLARE_EXPORT(__sdivsi3);
85DECLARE_EXPORT(__ashrdi3);
86DECLARE_EXPORT(__ashldi3);
87DECLARE_EXPORT(__lshrdi3);
88DECLARE_EXPORT(__movstr);
89
90EXPORT_SYMBOL(strcpy);
91
92#ifdef CONFIG_CPU_SH4
93DECLARE_EXPORT(__movstr_i4_even);
94DECLARE_EXPORT(__movstr_i4_odd);
95DECLARE_EXPORT(__movstrSI12_i4);
96
97/* needed by some modules */
98EXPORT_SYMBOL(flush_cache_all);
99EXPORT_SYMBOL(flush_cache_range);
100EXPORT_SYMBOL(flush_dcache_page);
101EXPORT_SYMBOL(__flush_purge_region);
9359e757 102EXPORT_SYMBOL(clear_user_page);
1da177e4
LT
103#endif
104
105#if defined(CONFIG_SH7705_CACHE_32KB)
106EXPORT_SYMBOL(flush_cache_all);
107EXPORT_SYMBOL(flush_cache_range);
108EXPORT_SYMBOL(flush_dcache_page);
109EXPORT_SYMBOL(__flush_purge_region);
110#endif
111
112EXPORT_SYMBOL(flush_tlb_page);
113EXPORT_SYMBOL(__down_trylock);
114
115#ifdef CONFIG_SMP
116EXPORT_SYMBOL(synchronize_irq);
117#endif
118
119EXPORT_SYMBOL(csum_partial);
e4c2cfee 120#ifdef CONFIG_IPV6
1da177e4 121EXPORT_SYMBOL(csum_ipv6_magic);
e4c2cfee 122#endif
1da177e4
LT
123EXPORT_SYMBOL(consistent_sync);
124EXPORT_SYMBOL(clear_page);