diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-31 05:32:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-31 15:19:01 -0500 |
commit | 0cb3463f04e771869f481e2dd44f66419e850586 (patch) | |
tree | ec4ad0af313e8b6060e3cc4fed2510092a74e2cd | |
parent | ec350a7fc16af45e143085594a6c9a18d7a0cba3 (diff) |
[PATCH] unexport get_wchan
The only user of get_wchan is the proc fs - and proc can't be built modular.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/alpha/kernel/alpha_ksyms.c | 2 | ||||
-rw-r--r-- | arch/arm/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/arm26/kernel/armksyms.c | 2 | ||||
-rw-r--r-- | arch/frv/kernel/frv_ksyms.c | 2 | ||||
-rw-r--r-- | arch/h8300/kernel/h8300_ksyms.c | 2 | ||||
-rw-r--r-- | arch/i386/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/m68k/kernel/m68k_ksyms.c | 1 | ||||
-rw-r--r-- | arch/m68knommu/kernel/m68k_ksyms.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/x86_64/kernel/x8664_ksyms.c | 2 | ||||
-rw-r--r-- | arch/xtensa/kernel/xtensa_ksyms.c | 2 |
12 files changed, 0 insertions, 19 deletions
diff --git a/arch/alpha/kernel/alpha_ksyms.c b/arch/alpha/kernel/alpha_ksyms.c index 1898ea79d0e2..9d6186d50245 100644 --- a/arch/alpha/kernel/alpha_ksyms.c +++ b/arch/alpha/kernel/alpha_ksyms.c | |||
@@ -216,8 +216,6 @@ EXPORT_SYMBOL(memcpy); | |||
216 | EXPORT_SYMBOL(memset); | 216 | EXPORT_SYMBOL(memset); |
217 | EXPORT_SYMBOL(memchr); | 217 | EXPORT_SYMBOL(memchr); |
218 | 218 | ||
219 | EXPORT_SYMBOL(get_wchan); | ||
220 | |||
221 | #ifdef CONFIG_ALPHA_IRONGATE | 219 | #ifdef CONFIG_ALPHA_IRONGATE |
222 | EXPORT_SYMBOL(irongate_ioremap); | 220 | EXPORT_SYMBOL(irongate_ioremap); |
223 | EXPORT_SYMBOL(irongate_iounmap); | 221 | EXPORT_SYMBOL(irongate_iounmap); |
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 489c069e5c3e..1ff75cee4b0d 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c | |||
@@ -474,4 +474,3 @@ unsigned long get_wchan(struct task_struct *p) | |||
474 | } while (count ++ < 16); | 474 | } while (count ++ < 16); |
475 | return 0; | 475 | return 0; |
476 | } | 476 | } |
477 | EXPORT_SYMBOL(get_wchan); | ||
diff --git a/arch/arm26/kernel/armksyms.c b/arch/arm26/kernel/armksyms.c index 811a6376c624..a6a1b3373444 100644 --- a/arch/arm26/kernel/armksyms.c +++ b/arch/arm26/kernel/armksyms.c | |||
@@ -212,8 +212,6 @@ EXPORT_SYMBOL(sys_open); | |||
212 | EXPORT_SYMBOL(sys_exit); | 212 | EXPORT_SYMBOL(sys_exit); |
213 | EXPORT_SYMBOL(sys_wait4); | 213 | EXPORT_SYMBOL(sys_wait4); |
214 | 214 | ||
215 | EXPORT_SYMBOL(get_wchan); | ||
216 | |||
217 | #ifdef CONFIG_PREEMPT | 215 | #ifdef CONFIG_PREEMPT |
218 | EXPORT_SYMBOL(kernel_flag); | 216 | EXPORT_SYMBOL(kernel_flag); |
219 | #endif | 217 | #endif |
diff --git a/arch/frv/kernel/frv_ksyms.c b/arch/frv/kernel/frv_ksyms.c index aa6b7d0a2109..07c8ffa0dd39 100644 --- a/arch/frv/kernel/frv_ksyms.c +++ b/arch/frv/kernel/frv_ksyms.c | |||
@@ -79,8 +79,6 @@ EXPORT_SYMBOL(memmove); | |||
79 | EXPORT_SYMBOL(__outsl_ns); | 79 | EXPORT_SYMBOL(__outsl_ns); |
80 | EXPORT_SYMBOL(__insl_ns); | 80 | EXPORT_SYMBOL(__insl_ns); |
81 | 81 | ||
82 | EXPORT_SYMBOL(get_wchan); | ||
83 | |||
84 | #ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS | 82 | #ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS |
85 | EXPORT_SYMBOL(atomic_test_and_ANDNOT_mask); | 83 | EXPORT_SYMBOL(atomic_test_and_ANDNOT_mask); |
86 | EXPORT_SYMBOL(atomic_test_and_OR_mask); | 84 | EXPORT_SYMBOL(atomic_test_and_OR_mask); |
diff --git a/arch/h8300/kernel/h8300_ksyms.c b/arch/h8300/kernel/h8300_ksyms.c index 69d6ad32d56c..b6cd78c972bb 100644 --- a/arch/h8300/kernel/h8300_ksyms.c +++ b/arch/h8300/kernel/h8300_ksyms.c | |||
@@ -55,8 +55,6 @@ EXPORT_SYMBOL(memcmp); | |||
55 | EXPORT_SYMBOL(memscan); | 55 | EXPORT_SYMBOL(memscan); |
56 | EXPORT_SYMBOL(memmove); | 56 | EXPORT_SYMBOL(memmove); |
57 | 57 | ||
58 | EXPORT_SYMBOL(get_wchan); | ||
59 | |||
60 | /* | 58 | /* |
61 | * libgcc functions - functions that are used internally by the | 59 | * libgcc functions - functions that are used internally by the |
62 | * compiler... (prototypes are not correct though, but that | 60 | * compiler... (prototypes are not correct though, but that |
diff --git a/arch/i386/kernel/process.c b/arch/i386/kernel/process.c index 24b3e745478b..6259afea46d1 100644 --- a/arch/i386/kernel/process.c +++ b/arch/i386/kernel/process.c | |||
@@ -781,7 +781,6 @@ unsigned long get_wchan(struct task_struct *p) | |||
781 | } while (count++ < 16); | 781 | } while (count++ < 16); |
782 | return 0; | 782 | return 0; |
783 | } | 783 | } |
784 | EXPORT_SYMBOL(get_wchan); | ||
785 | 784 | ||
786 | /* | 785 | /* |
787 | * sys_alloc_thread_area: get a yet unused TLS descriptor index. | 786 | * sys_alloc_thread_area: get a yet unused TLS descriptor index. |
diff --git a/arch/m68k/kernel/m68k_ksyms.c b/arch/m68k/kernel/m68k_ksyms.c index 3d7f2000b714..c3319514a85e 100644 --- a/arch/m68k/kernel/m68k_ksyms.c +++ b/arch/m68k/kernel/m68k_ksyms.c | |||
@@ -79,4 +79,3 @@ EXPORT_SYMBOL(__down_failed_interruptible); | |||
79 | EXPORT_SYMBOL(__down_failed_trylock); | 79 | EXPORT_SYMBOL(__down_failed_trylock); |
80 | EXPORT_SYMBOL(__up_wakeup); | 80 | EXPORT_SYMBOL(__up_wakeup); |
81 | 81 | ||
82 | EXPORT_SYMBOL(get_wchan); | ||
diff --git a/arch/m68knommu/kernel/m68k_ksyms.c b/arch/m68knommu/kernel/m68k_ksyms.c index d844c755945a..f9b4ea16c099 100644 --- a/arch/m68knommu/kernel/m68k_ksyms.c +++ b/arch/m68knommu/kernel/m68k_ksyms.c | |||
@@ -57,8 +57,6 @@ EXPORT_SYMBOL(__down_failed_interruptible); | |||
57 | EXPORT_SYMBOL(__down_failed_trylock); | 57 | EXPORT_SYMBOL(__down_failed_trylock); |
58 | EXPORT_SYMBOL(__up_wakeup); | 58 | EXPORT_SYMBOL(__up_wakeup); |
59 | 59 | ||
60 | EXPORT_SYMBOL(get_wchan); | ||
61 | |||
62 | /* | 60 | /* |
63 | * libgcc functions - functions that are used internally by the | 61 | * libgcc functions - functions that are used internally by the |
64 | * compiler... (prototypes are not correct though, but that | 62 | * compiler... (prototypes are not correct though, but that |
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index a8f435d82940..c66db5e5ab62 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c | |||
@@ -419,4 +419,3 @@ unsigned long get_wchan(struct task_struct *p) | |||
419 | return pc; | 419 | return pc; |
420 | } | 420 | } |
421 | 421 | ||
422 | EXPORT_SYMBOL(get_wchan); | ||
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 706090c99f47..2dd47d2dd998 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -834,7 +834,6 @@ unsigned long get_wchan(struct task_struct *p) | |||
834 | } while (count++ < 16); | 834 | } while (count++ < 16); |
835 | return 0; | 835 | return 0; |
836 | } | 836 | } |
837 | EXPORT_SYMBOL(get_wchan); | ||
838 | 837 | ||
839 | static int kstack_depth_to_print = 64; | 838 | static int kstack_depth_to_print = 64; |
840 | 839 | ||
diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c index d96a9348e5a2..d78f46056bda 100644 --- a/arch/x86_64/kernel/x8664_ksyms.c +++ b/arch/x86_64/kernel/x8664_ksyms.c | |||
@@ -102,8 +102,6 @@ EXPORT_SYMBOL(cpu_callout_map); | |||
102 | EXPORT_SYMBOL(screen_info); | 102 | EXPORT_SYMBOL(screen_info); |
103 | #endif | 103 | #endif |
104 | 104 | ||
105 | EXPORT_SYMBOL(get_wchan); | ||
106 | |||
107 | EXPORT_SYMBOL(rtc_lock); | 105 | EXPORT_SYMBOL(rtc_lock); |
108 | 106 | ||
109 | EXPORT_SYMBOL_GPL(set_nmi_callback); | 107 | EXPORT_SYMBOL_GPL(set_nmi_callback); |
diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c index efae56a51475..152b9370789b 100644 --- a/arch/xtensa/kernel/xtensa_ksyms.c +++ b/arch/xtensa/kernel/xtensa_ksyms.c | |||
@@ -113,8 +113,6 @@ EXPORT_SYMBOL(__xtensa_copy_user); | |||
113 | // FIXME EXPORT_SYMBOL(screen_info); | 113 | // FIXME EXPORT_SYMBOL(screen_info); |
114 | #endif | 114 | #endif |
115 | 115 | ||
116 | EXPORT_SYMBOL(get_wchan); | ||
117 | |||
118 | EXPORT_SYMBOL(outsb); | 116 | EXPORT_SYMBOL(outsb); |
119 | EXPORT_SYMBOL(outsw); | 117 | EXPORT_SYMBOL(outsw); |
120 | EXPORT_SYMBOL(outsl); | 118 | EXPORT_SYMBOL(outsl); |