[POWERPC] Set lower flag bits in regs->trap to indicate debug level exception
authorKumar Gala <galak@kernel.crashing.org>
Wed, 30 Apr 2008 10:44:53 +0000 (20:44 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 May 2008 12:31:37 +0000 (22:31 +1000)
commit663276b7c6340e755ed62bed67a2b96f4fc3d513
tree53e559feb737fce86ad4790f979d1a80a4564266
parent7a10174eeafe737f3ccfcece5bdff749c3b044e0
[POWERPC] Set lower flag bits in regs->trap to indicate debug level exception

We use the low bits of regs->trap as flag bits.  We already indicate
critical and machine check level exceptions via this mechanism.  Extend it
to indicate debug level exceptions.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_booke.h
include/asm-powerpc/ptrace.h