diff options
author | akpm@osdl.org <akpm@osdl.org> | 2006-01-09 23:51:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:01:25 -0500 |
commit | df2e71fb9115a8d4f721fb1464db09adc8332bc5 (patch) | |
tree | 460230de8257235dc57f9835582afb0875cbc057 /arch/sparc64 | |
parent | be4f1bb2627c2d963d09be1cd69f8820995a9112 (diff) |
[PATCH] dump_thread() cleanup
)
From: Adrian Bunk <bunk@stusta.de>
- create one common dump_thread() prototype in kernel.h
- dump_thread() is only used in fs/binfmt_aout.c and can therefore be
removed on all architectures where CONFIG_BINFMT_AOUT is not
available
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/kernel/binfmt_aout32.c | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/sparc64_ksyms.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/binfmt_aout32.c b/arch/sparc64/kernel/binfmt_aout32.c index edf52d06b280..202a80c24b6f 100644 --- a/arch/sparc64/kernel/binfmt_aout32.c +++ b/arch/sparc64/kernel/binfmt_aout32.c | |||
@@ -36,8 +36,6 @@ static int load_aout32_binary(struct linux_binprm *, struct pt_regs * regs); | |||
36 | static int load_aout32_library(struct file*); | 36 | static int load_aout32_library(struct file*); |
37 | static int aout32_core_dump(long signr, struct pt_regs * regs, struct file *file); | 37 | static int aout32_core_dump(long signr, struct pt_regs * regs, struct file *file); |
38 | 38 | ||
39 | extern void dump_thread(struct pt_regs *, struct user *); | ||
40 | |||
41 | static struct linux_binfmt aout32_format = { | 39 | static struct linux_binfmt aout32_format = { |
42 | NULL, THIS_MODULE, load_aout32_binary, load_aout32_library, aout32_core_dump, | 40 | NULL, THIS_MODULE, load_aout32_binary, load_aout32_library, aout32_core_dump, |
43 | PAGE_SIZE | 41 | PAGE_SIZE |
diff --git a/arch/sparc64/kernel/sparc64_ksyms.c b/arch/sparc64/kernel/sparc64_ksyms.c index fb7a5370dbfc..d177d7e5c9d3 100644 --- a/arch/sparc64/kernel/sparc64_ksyms.c +++ b/arch/sparc64/kernel/sparc64_ksyms.c | |||
@@ -94,7 +94,6 @@ extern void (*prom_palette)(int); | |||
94 | 94 | ||
95 | extern int __ashrdi3(int, int); | 95 | extern int __ashrdi3(int, int); |
96 | 96 | ||
97 | extern void dump_thread(struct pt_regs *, struct user *); | ||
98 | extern int dump_fpu (struct pt_regs * regs, elf_fpregset_t * fpregs); | 97 | extern int dump_fpu (struct pt_regs * regs, elf_fpregset_t * fpregs); |
99 | 98 | ||
100 | extern unsigned long phys_base; | 99 | extern unsigned long phys_base; |
@@ -241,7 +240,6 @@ EXPORT_SYMBOL(io_remap_pfn_range); | |||
241 | EXPORT_SYMBOL(_sigpause_common); | 240 | EXPORT_SYMBOL(_sigpause_common); |
242 | EXPORT_SYMBOL(verify_compat_iovec); | 241 | EXPORT_SYMBOL(verify_compat_iovec); |
243 | 242 | ||
244 | EXPORT_SYMBOL(dump_thread); | ||
245 | EXPORT_SYMBOL(dump_fpu); | 243 | EXPORT_SYMBOL(dump_fpu); |
246 | EXPORT_SYMBOL(pte_alloc_one_kernel); | 244 | EXPORT_SYMBOL(pte_alloc_one_kernel); |
247 | #ifndef CONFIG_SMP | 245 | #ifndef CONFIG_SMP |