dumptrace: x86: consistently include loglevel, print stack switch
commit2ac53721f37c79acddaf60f6ff232f56b7abddba
authorAlexander van Heukelum <heukelum@fastmail.fm>
Sat, 4 Oct 2008 21:12:43 +0000 (4 23:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:33:42 +0000 (13 10:33 +0200)
tree56075afcaf1245c78e66ea7489f78cc1fbd3dd55
parent3a18512db00e0eedca86e3db4d2e81f8fe0b1774
dumptrace: x86: consistently include loglevel, print stack switch

- i386 and x86_64: always printk the 'data' parameter
 - i386: announce stack switch (irq -> normal)
 - i386: check if there is a stack switch before announcing it

There is a warning that 'context' might come out corrupt in early
boot. If this is true it should be fixed, not worked around.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/dumpstack_32.c
arch/x86/kernel/dumpstack_64.c