stacktrace: print_stack_trace() cleanup
authorVegard Nossum <vegard.nossum@gmail.com>
Fri, 13 Jun 2008 09:00:14 +0000 (11:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Jun 2008 11:17:30 +0000 (13:17 +0200)
commita5a242dceed5d1c74fe46088762a9e4312c2d000
tree59f7f7cc3d31150921d078b457ba3bed1591426a
parent886dd58258e6ddebe20e7aebef7b167a24bad7ee
stacktrace: print_stack_trace() cleanup

- shorter code and better atomicity with regards to printk().

(It's been tested with the backtrace self-test code on i386 and x86_64.)

Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/stacktrace.c