summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/vector.S
diff options
context:
space:
mode:
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>2012-07-06 03:30:58 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-07-11 06:20:20 +0200
commitac84aa2b3b9b791eac45174d1966d5fdf3bbba1c (patch)
treeae7fae6ae9aced79d6bb2e9a30a36cd0920a17bf /arch/powerpc/kernel/vector.S
parentpowerpc: Put the gpr save/restore functions in their own section (diff)
downloadlinux-ac84aa2b3b9b791eac45174d1966d5fdf3bbba1c.tar.xz
linux-ac84aa2b3b9b791eac45174d1966d5fdf3bbba1c.zip
powerpc/hw_breakpoints: Fix incorrect pointer access
If arch_validate_hwbkpt_settings() fails, bp->ctx won't be valid and the kernel panics. Add a check to fix this. Reported-by: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/vector.S')
0 files changed, 0 insertions, 0 deletions