]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86/debug: Only print out DR registers if they are not power-on defaults
authorDave Jones <davej@redhat.com>
Tue, 18 Jun 2013 16:09:11 +0000 (12:09 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Jun 2013 12:33:59 +0000 (14:33 +0200)
commit4338774cd41a6abf72aa76585ce2184cea8ff8a2
tree8fe5dbff300e905f0578b8c937865c31a12d65c9
parent17858ca65eef148d335ffd4cfc09228a1c1cbfb5
x86/debug: Only print out DR registers if they are not power-on defaults

The DR registers are rarely useful when decoding oopses.
With screen real estate during oopses at a premium, we can save
two lines by only printing out these registers when they are set
to something other than they power-on state.

Signed-off-by: Dave Jones <davej@redhat.com>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20130618160911.GA24487@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c