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)
commitd968d2b801d877601d54e35e6dd0f52d9c797c99
treea6eba5aeb70163347d32bb01b6fb6e3e2609ce40
parentbf8801145c01ab600f8df66e8c879ac642fa5846
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