]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7497/1: hw_breakpoint: allow single-byte watchpoints on all addresses
authorWill Deacon <will.deacon@arm.com>
Thu, 16 Aug 2012 18:02:12 +0000 (19:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 25 Aug 2012 08:15:23 +0000 (09:15 +0100)
commita0b34adfbce517520c4af00b5182b3c2bc0565e6
treea6eba5aeb70163347d32bb01b6fb6e3e2609ce40
parenta1350d7c9de0200c6f9a3bf77b8ca4927f75faff
ARM: 7497/1: hw_breakpoint: allow single-byte watchpoints on all addresses

Breakpoint validation currently fails for single-byte watchpoints on
addresses ending in 11b. There is no reason to forbid such a watchpoint,
so extend the validation code to allow it.

Cc: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/hw_breakpoint.c