diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-03-26 10:24:04 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 10:24:11 -0400 |
commit | 1485c5c88483d200c9c4c71ed7e8eef1a1e317a1 (patch) | |
tree | ad42514ca55815ee6e2468ebc45ee0ef91e6d1db /arch/s390/kernel | |
parent | e3dd9c2da674993edb5b52acb56a5d954415639b (diff) |
[S390] move EXPORT_SYMBOLs to definitions
Move all EXPORT_SYMBOLs to their corresponding definitions.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/bitmap.c | 5 | ||||
-rw-r--r-- | arch/s390/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/s390/kernel/s390_ksyms.c | 44 | ||||
-rw-r--r-- | arch/s390/kernel/setup.c | 8 |
4 files changed, 15 insertions, 44 deletions
diff --git a/arch/s390/kernel/bitmap.c b/arch/s390/kernel/bitmap.c index 54e362b4267d..3ae4757b006a 100644 --- a/arch/s390/kernel/bitmap.c +++ b/arch/s390/kernel/bitmap.c | |||
@@ -7,10 +7,13 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/bitops.h> | 9 | #include <linux/bitops.h> |
10 | #include <linux/module.h> | ||
10 | 11 | ||
11 | const char _oi_bitmap[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 }; | 12 | const char _oi_bitmap[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 }; |
13 | EXPORT_SYMBOL(_oi_bitmap); | ||
12 | 14 | ||
13 | const char _ni_bitmap[] = { 0xfe, 0xfd, 0xfb, 0xf7, 0xef, 0xdf, 0xbf, 0x7f }; | 15 | const char _ni_bitmap[] = { 0xfe, 0xfd, 0xfb, 0xf7, 0xef, 0xdf, 0xbf, 0x7f }; |
16 | EXPORT_SYMBOL(_ni_bitmap); | ||
14 | 17 | ||
15 | const char _zb_findmap[] = { | 18 | const char _zb_findmap[] = { |
16 | 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4, | 19 | 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4, |
@@ -29,6 +32,7 @@ const char _zb_findmap[] = { | |||
29 | 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5, | 32 | 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5, |
30 | 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4, | 33 | 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4, |
31 | 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,8 }; | 34 | 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,8 }; |
35 | EXPORT_SYMBOL(_zb_findmap); | ||
32 | 36 | ||
33 | const char _sb_findmap[] = { | 37 | const char _sb_findmap[] = { |
34 | 8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0, | 38 | 8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0, |
@@ -47,3 +51,4 @@ const char _sb_findmap[] = { | |||
47 | 4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0, | 51 | 4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0, |
48 | 5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0, | 52 | 5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0, |
49 | 4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0 }; | 53 | 4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0 }; |
54 | EXPORT_SYMBOL(_sb_findmap); | ||
diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c index bd616fb31e75..b48e961a38f6 100644 --- a/arch/s390/kernel/process.c +++ b/arch/s390/kernel/process.c | |||
@@ -141,6 +141,7 @@ int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags) | |||
141 | return do_fork(flags | CLONE_VM | CLONE_UNTRACED, | 141 | return do_fork(flags | CLONE_VM | CLONE_UNTRACED, |
142 | 0, ®s, 0, NULL, NULL); | 142 | 0, ®s, 0, NULL, NULL); |
143 | } | 143 | } |
144 | EXPORT_SYMBOL(kernel_thread); | ||
144 | 145 | ||
145 | /* | 146 | /* |
146 | * Free current thread data structures etc.. | 147 | * Free current thread data structures etc.. |
@@ -318,6 +319,7 @@ int dump_fpu (struct pt_regs * regs, s390_fp_regs *fpregs) | |||
318 | #endif /* CONFIG_64BIT */ | 319 | #endif /* CONFIG_64BIT */ |
319 | return 1; | 320 | return 1; |
320 | } | 321 | } |
322 | EXPORT_SYMBOL(dump_fpu); | ||
321 | 323 | ||
322 | unsigned long get_wchan(struct task_struct *p) | 324 | unsigned long get_wchan(struct task_struct *p) |
323 | { | 325 | { |
diff --git a/arch/s390/kernel/s390_ksyms.c b/arch/s390/kernel/s390_ksyms.c index 46b90cb03707..656fcbb9bd83 100644 --- a/arch/s390/kernel/s390_ksyms.c +++ b/arch/s390/kernel/s390_ksyms.c | |||
@@ -1,49 +1,5 @@ | |||
1 | /* | ||
2 | * arch/s390/kernel/s390_ksyms.c | ||
3 | * | ||
4 | * S390 version | ||
5 | */ | ||
6 | #include <linux/highuid.h> | ||
7 | #include <linux/module.h> | 1 | #include <linux/module.h> |
8 | #include <linux/mm.h> | ||
9 | #include <linux/smp.h> | ||
10 | #include <linux/syscalls.h> | ||
11 | #include <linux/interrupt.h> | ||
12 | #include <asm/checksum.h> | ||
13 | #include <asm/cpcmd.h> | ||
14 | #include <asm/delay.h> | ||
15 | #include <asm/pgalloc.h> | ||
16 | #include <asm/setup.h> | ||
17 | #include <asm/ftrace.h> | 2 | #include <asm/ftrace.h> |
18 | #ifdef CONFIG_IP_MULTICAST | ||
19 | #include <net/arp.h> | ||
20 | #endif | ||
21 | |||
22 | /* | ||
23 | * memory management | ||
24 | */ | ||
25 | EXPORT_SYMBOL(_oi_bitmap); | ||
26 | EXPORT_SYMBOL(_ni_bitmap); | ||
27 | EXPORT_SYMBOL(_zb_findmap); | ||
28 | EXPORT_SYMBOL(_sb_findmap); | ||
29 | |||
30 | /* | ||
31 | * binfmt_elf loader | ||
32 | */ | ||
33 | extern int dump_fpu (struct pt_regs * regs, s390_fp_regs *fpregs); | ||
34 | EXPORT_SYMBOL(dump_fpu); | ||
35 | EXPORT_SYMBOL(empty_zero_page); | ||
36 | |||
37 | /* | ||
38 | * misc. | ||
39 | */ | ||
40 | EXPORT_SYMBOL(machine_flags); | ||
41 | EXPORT_SYMBOL(__udelay); | ||
42 | EXPORT_SYMBOL(kernel_thread); | ||
43 | EXPORT_SYMBOL(csum_fold); | ||
44 | EXPORT_SYMBOL(console_mode); | ||
45 | EXPORT_SYMBOL(console_devno); | ||
46 | EXPORT_SYMBOL(console_irq); | ||
47 | 3 | ||
48 | #ifdef CONFIG_FUNCTION_TRACER | 4 | #ifdef CONFIG_FUNCTION_TRACER |
49 | EXPORT_SYMBOL(_mcount); | 5 | EXPORT_SYMBOL(_mcount); |
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 8fdf08379ce9..0b8ad7b4f8f3 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -74,9 +74,17 @@ EXPORT_SYMBOL(uaccess); | |||
74 | * Machine setup.. | 74 | * Machine setup.. |
75 | */ | 75 | */ |
76 | unsigned int console_mode = 0; | 76 | unsigned int console_mode = 0; |
77 | EXPORT_SYMBOL(console_mode); | ||
78 | |||
77 | unsigned int console_devno = -1; | 79 | unsigned int console_devno = -1; |
80 | EXPORT_SYMBOL(console_devno); | ||
81 | |||
78 | unsigned int console_irq = -1; | 82 | unsigned int console_irq = -1; |
83 | EXPORT_SYMBOL(console_irq); | ||
84 | |||
79 | unsigned long machine_flags; | 85 | unsigned long machine_flags; |
86 | EXPORT_SYMBOL(machine_flags); | ||
87 | |||
80 | unsigned long elf_hwcap = 0; | 88 | unsigned long elf_hwcap = 0; |
81 | char elf_platform[ELF_PLATFORM_SIZE]; | 89 | char elf_platform[ELF_PLATFORM_SIZE]; |
82 | 90 | ||