Ingo Molnar
251e1e44b9
x86: Fix printk call in print_local_apic()
Instead of this:
[ 75.690022] <7>printing local APIC contents on CPU#0/0:
[ 75.704406] ... APIC ID: 00000000 (0)
[ 75.707905] ... APIC VERSION: 00060015
[ 75.722551] ... APIC TASKPRI: 00000000 (00)
[ 75.725473] ... APIC PROCPRI: 00000000
[ 75.728592] ... APIC LDR: 00000001
[ 75.742137] ... APIC SPIV: 000001ff
[ 75.744101] ... APIC ISR field:
[ 75.746648] 0123456789abcdef0123456789abcdef
[ 75.746649] <7>00000000000000000000000000000000
Improve the code to be saner and simpler and just print out
the bitfield in a single line using hexa values - not as a
(rather pointless) binary bitfield.
Partially reused Linus's initial fix for this.
Reported-and-Tested-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <4A4C43BC.90506@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-07-02 08:54:08 +02:00
..
2009-06-21 13:08:22 -07:00
2009-06-29 11:19:27 +01:00
2009-06-21 13:08:22 -07:00
2009-06-22 22:31:00 -04:00
2009-06-23 10:47:01 -07:00
2009-06-21 13:08:22 -07:00
2009-06-23 12:50:05 -07:00
2009-06-28 14:10:30 +03:00
2009-06-21 13:08:22 -07:00
2009-06-21 13:08:22 -07:00
2009-06-18 13:03:48 -07:00
2009-06-21 13:08:22 -07:00
2009-06-24 18:34:40 +01:00
2009-06-22 13:34:50 -07:00
2009-06-21 13:08:22 -07:00
2009-06-26 16:58:01 +10:00
2009-06-28 14:10:30 +03:00
2009-06-24 01:41:05 +09:00
2009-06-25 19:56:02 -07:00
2009-06-25 11:22:13 -07:00
2009-07-02 08:54:08 +02:00
2009-06-22 02:38:11 -07:00
2009-06-18 13:03:57 -07:00