[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>
This commit is contained in:

committed by
Linus Torvalds

parent
be4f1bb262
commit
df2e71fb91
@@ -36,8 +36,6 @@ static int load_aout32_binary(struct linux_binprm *, struct pt_regs * regs);
|
||||
static int load_aout32_library(struct file*);
|
||||
static int aout32_core_dump(long signr, struct pt_regs * regs, struct file *file);
|
||||
|
||||
extern void dump_thread(struct pt_regs *, struct user *);
|
||||
|
||||
static struct linux_binfmt aout32_format = {
|
||||
NULL, THIS_MODULE, load_aout32_binary, load_aout32_library, aout32_core_dump,
|
||||
PAGE_SIZE
|
||||
|
@@ -94,7 +94,6 @@ extern void (*prom_palette)(int);
|
||||
|
||||
extern int __ashrdi3(int, int);
|
||||
|
||||
extern void dump_thread(struct pt_regs *, struct user *);
|
||||
extern int dump_fpu (struct pt_regs * regs, elf_fpregset_t * fpregs);
|
||||
|
||||
extern unsigned long phys_base;
|
||||
@@ -241,7 +240,6 @@ EXPORT_SYMBOL(io_remap_pfn_range);
|
||||
EXPORT_SYMBOL(_sigpause_common);
|
||||
EXPORT_SYMBOL(verify_compat_iovec);
|
||||
|
||||
EXPORT_SYMBOL(dump_thread);
|
||||
EXPORT_SYMBOL(dump_fpu);
|
||||
EXPORT_SYMBOL(pte_alloc_one_kernel);
|
||||
#ifndef CONFIG_SMP
|
||||
|
Reference in New Issue
Block a user