From: Will Deacon Date: Sun, 28 Nov 2010 15:09:36 +0000 (+0000) Subject: ARM: hw_breakpoint: don't advertise reserved breakpoints X-Git-Tag: v2.6.38-rc1~471^2^2~6^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0017ff42ac37ff6aeb87d0b006c5d32b9a39f5fc;p=pandora-kernel.git ARM: hw_breakpoint: don't advertise reserved breakpoints To permit handling of watchpoint exceptions without signalling a debugger, it is necessary to reserve breakpoint registers for in-kernel use only. This patch ensures that we record and subtract the number of reserved breakpoints from the number of usable breakpoint registers that we advertise to userspace via the ptrace API. Signed-off-by: Will Deacon --- Reading git-diff-tree failed