From: Will Deacon Date: Tue, 2 Aug 2011 12:01:17 +0000 (+0100) Subject: ARM: hw_breakpoint: reserve one breakpoint for watchpoint stepping X-Git-Tag: v3.2-rc1~130^2~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c512de955f0982aafa49d3f00d5643052a6790e5;p=pandora-kernel.git ARM: hw_breakpoint: reserve one breakpoint for watchpoint stepping The current hw_breakpoint code on ARM reserves 1 breakpoint for each watchpoint that is available. Since debug architectures prior to 7.1 are restricted to 1 watchpoint anyway, only one breakpoint was ever reserved. This patch changes the reservation strategy so that a single breakpoint is reserved, regardless of the number of watchpoints. This is in preparation for multiple-watchpoint support on debug architectures from 7.1 onwards. Signed-off-by: Will Deacon --- Reading git-diff-tree failed