Re: [2.6 patch] blackfin: remove dump_thread()

Adrian Bunk
2007-11-07T03:29:06Z

On Wed, Nov 07, 2007 at 11:07:06AM +0800, Bryan Wu wrote:
> On 11/6/07, Adrian Bunk <bunk@kernel.org> wrote:
> > This patch removes the unused dump_thread().
> >
>
> Why only remove it from Blackfin? any more reason?

The only user is the a.out support.

It was therefore removed prior to the blackfin merge from all
architectures not supporting a.out.

> I found this in latest 2.6.24-rc2:
>
> --
> Cscope tag: dump_thread
> # line filename / context / line
> 1 324 arch/alpha/kernel/process.c <<dump_thread>>
> dump_thread(struct pt_regs * pt, struct user * dump)
> 2 373 arch/arm/kernel/process.c <<dump_thread>>
> void dump_thread(struct pt_regs * regs, struct user * dump)
> 3 244 arch/blackfin/kernel/process.c <<dump_thread>>
> void dump_thread(struct pt_regs *regs, struct user *dump)
> 4 321 arch/m68k/kernel/process.c <<dump_thread>>
> void dump_thread(struct pt_regs * regs, struct user * dump)
> 5 572 arch/sparc/kernel/process.c <<dump_thread>>
> void dump_thread(struct pt_regs * regs, struct user * dump)
> 6 731 arch/sparc64/kernel/process.c <<dump_thread>>
> void dump_thread(struct pt_regs * regs, struct user * dump)
> 7 306 arch/um/kernel/process.c <<dump_thread>>
> void dump_thread(struct pt_regs *regs, struct user *u)
> 8 519 arch/x86/kernel/process_32.c <<dump_thread>>
> void dump_thread(struct pt_regs * regs, struct user * dump)
> --
>
> Regards,
> -Bryan

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed