Commit 0cb3463f authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] unexport get_wchan

The only user of get_wchan is the proc fs - and proc can't be built modular.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ec350a7f
...@@ -216,8 +216,6 @@ EXPORT_SYMBOL(memcpy); ...@@ -216,8 +216,6 @@ EXPORT_SYMBOL(memcpy);
EXPORT_SYMBOL(memset); EXPORT_SYMBOL(memset);
EXPORT_SYMBOL(memchr); EXPORT_SYMBOL(memchr);
EXPORT_SYMBOL(get_wchan);
#ifdef CONFIG_ALPHA_IRONGATE #ifdef CONFIG_ALPHA_IRONGATE
EXPORT_SYMBOL(irongate_ioremap); EXPORT_SYMBOL(irongate_ioremap);
EXPORT_SYMBOL(irongate_iounmap); EXPORT_SYMBOL(irongate_iounmap);
......
...@@ -474,4 +474,3 @@ unsigned long get_wchan(struct task_struct *p) ...@@ -474,4 +474,3 @@ unsigned long get_wchan(struct task_struct *p)
} while (count ++ < 16); } while (count ++ < 16);
return 0; return 0;
} }
EXPORT_SYMBOL(get_wchan);
...@@ -212,8 +212,6 @@ EXPORT_SYMBOL(sys_open); ...@@ -212,8 +212,6 @@ EXPORT_SYMBOL(sys_open);
EXPORT_SYMBOL(sys_exit); EXPORT_SYMBOL(sys_exit);
EXPORT_SYMBOL(sys_wait4); EXPORT_SYMBOL(sys_wait4);
EXPORT_SYMBOL(get_wchan);
#ifdef CONFIG_PREEMPT #ifdef CONFIG_PREEMPT
EXPORT_SYMBOL(kernel_flag); EXPORT_SYMBOL(kernel_flag);
#endif #endif
...@@ -79,8 +79,6 @@ EXPORT_SYMBOL(memmove); ...@@ -79,8 +79,6 @@ EXPORT_SYMBOL(memmove);
EXPORT_SYMBOL(__outsl_ns); EXPORT_SYMBOL(__outsl_ns);
EXPORT_SYMBOL(__insl_ns); EXPORT_SYMBOL(__insl_ns);
EXPORT_SYMBOL(get_wchan);
#ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS #ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS
EXPORT_SYMBOL(atomic_test_and_ANDNOT_mask); EXPORT_SYMBOL(atomic_test_and_ANDNOT_mask);
EXPORT_SYMBOL(atomic_test_and_OR_mask); EXPORT_SYMBOL(atomic_test_and_OR_mask);
......
...@@ -55,8 +55,6 @@ EXPORT_SYMBOL(memcmp); ...@@ -55,8 +55,6 @@ EXPORT_SYMBOL(memcmp);
EXPORT_SYMBOL(memscan); EXPORT_SYMBOL(memscan);
EXPORT_SYMBOL(memmove); EXPORT_SYMBOL(memmove);
EXPORT_SYMBOL(get_wchan);
/* /*
* libgcc functions - functions that are used internally by the * libgcc functions - functions that are used internally by the
* compiler... (prototypes are not correct though, but that * compiler... (prototypes are not correct though, but that
......
...@@ -781,7 +781,6 @@ unsigned long get_wchan(struct task_struct *p) ...@@ -781,7 +781,6 @@ unsigned long get_wchan(struct task_struct *p)
} while (count++ < 16); } while (count++ < 16);
return 0; return 0;
} }
EXPORT_SYMBOL(get_wchan);
/* /*
* sys_alloc_thread_area: get a yet unused TLS descriptor index. * sys_alloc_thread_area: get a yet unused TLS descriptor index.
......
...@@ -79,4 +79,3 @@ EXPORT_SYMBOL(__down_failed_interruptible); ...@@ -79,4 +79,3 @@ EXPORT_SYMBOL(__down_failed_interruptible);
EXPORT_SYMBOL(__down_failed_trylock); EXPORT_SYMBOL(__down_failed_trylock);
EXPORT_SYMBOL(__up_wakeup); EXPORT_SYMBOL(__up_wakeup);
EXPORT_SYMBOL(get_wchan);
...@@ -57,8 +57,6 @@ EXPORT_SYMBOL(__down_failed_interruptible); ...@@ -57,8 +57,6 @@ EXPORT_SYMBOL(__down_failed_interruptible);
EXPORT_SYMBOL(__down_failed_trylock); EXPORT_SYMBOL(__down_failed_trylock);
EXPORT_SYMBOL(__up_wakeup); EXPORT_SYMBOL(__up_wakeup);
EXPORT_SYMBOL(get_wchan);
/* /*
* libgcc functions - functions that are used internally by the * libgcc functions - functions that are used internally by the
* compiler... (prototypes are not correct though, but that * compiler... (prototypes are not correct though, but that
......
...@@ -419,4 +419,3 @@ unsigned long get_wchan(struct task_struct *p) ...@@ -419,4 +419,3 @@ unsigned long get_wchan(struct task_struct *p)
return pc; return pc;
} }
EXPORT_SYMBOL(get_wchan);
...@@ -834,7 +834,6 @@ unsigned long get_wchan(struct task_struct *p) ...@@ -834,7 +834,6 @@ unsigned long get_wchan(struct task_struct *p)
} while (count++ < 16); } while (count++ < 16);
return 0; return 0;
} }
EXPORT_SYMBOL(get_wchan);
static int kstack_depth_to_print = 64; static int kstack_depth_to_print = 64;
......
...@@ -102,8 +102,6 @@ EXPORT_SYMBOL(cpu_callout_map); ...@@ -102,8 +102,6 @@ EXPORT_SYMBOL(cpu_callout_map);
EXPORT_SYMBOL(screen_info); EXPORT_SYMBOL(screen_info);
#endif #endif
EXPORT_SYMBOL(get_wchan);
EXPORT_SYMBOL(rtc_lock); EXPORT_SYMBOL(rtc_lock);
EXPORT_SYMBOL_GPL(set_nmi_callback); EXPORT_SYMBOL_GPL(set_nmi_callback);
......
...@@ -113,8 +113,6 @@ EXPORT_SYMBOL(__xtensa_copy_user); ...@@ -113,8 +113,6 @@ EXPORT_SYMBOL(__xtensa_copy_user);
// FIXME EXPORT_SYMBOL(screen_info); // FIXME EXPORT_SYMBOL(screen_info);
#endif #endif
EXPORT_SYMBOL(get_wchan);
EXPORT_SYMBOL(outsb); EXPORT_SYMBOL(outsb);
EXPORT_SYMBOL(outsw); EXPORT_SYMBOL(outsw);
EXPORT_SYMBOL(outsl); EXPORT_SYMBOL(outsl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment