OSDN Git Service

simplify the stacktrace code
authorChristoph Hellwig <hch@lst.de>
Tue, 8 May 2007 07:23:29 +0000 (00:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:14:58 +0000 (11:14 -0700)
commitab1b6f03a10ba1f5638188ab06bf46e33ac3a160
tree2dc7ce01df5d51d81e250dd9cee1b7b04627466e
parent7e4c3690b07f04b1942c39db358a5c8a72831daa
simplify the stacktrace code

Simplify the stacktrace code:

 - remove the unused task argument to save_stack_trace, it's always
   current
 - remove the all_contexts flag, it's alwasy 0

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Andi Kleen <ak@suse.de>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mips/kernel/stacktrace.c
arch/s390/kernel/stacktrace.c
arch/sh/kernel/stacktrace.c
arch/sparc64/kernel/stacktrace.c
arch/x86_64/kernel/stacktrace.c
include/linux/stacktrace.h
kernel/lockdep.c
lib/fault-inject.c