From: Michael Neuling Date: Thu, 20 Dec 2012 14:06:44 +0000 (+0000) Subject: powerpc: Hardware breakpoints rewrite to handle non DABR breakpoint registers X-Git-Tag: v3.9-rc1~100^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9422de3e953d0e60eb95f5430a9dd803eec1c6d7;p=pandora-kernel.git powerpc: Hardware breakpoints rewrite to handle non DABR breakpoint registers This is a rewrite so that we don't assume we are using the DABR throughout the code. We now use the arch_hw_breakpoint to store the breakpoint in a generic manner in the thread_struct, rather than storing the raw DABR value. The ptrace GET/SET_DEBUGREG interface currently passes the raw DABR in from userspace. We keep this functionality, so that future changes (like the POWER8 DAWR), will still fake the DABR to userspace. Signed-off-by: Michael Neuling Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed