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

From: Adrian Bunk
Date: Tue Nov 06 2007 - 22:29:07 EST


On Wed, Nov 07, 2007 at 11:07:06AM +0800, Bryan Wu wrote:
> On 11/6/07, Adrian Bunk <bunk@xxxxxxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/