sh: hw-breakpoints: Accept breakpoints on NULL addresses.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 1 Mar 2010 02:52:03 +0000 (11:52 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 1 Mar 2010 02:52:03 +0000 (11:52 +0900)
commit105244ec95590f5f12a90d974650ab5c7bc8ec79
treed7f5617900a8b5cdab6a9e5bb714a8b1c3533650
parent30ff056c42c665b9ea535d8515890857ae382540
sh: hw-breakpoints: Accept breakpoints on NULL addresses.

This follows the x86 change 84d710926797a6e317e7e94654a3ccd771cfd8a3
("hw-breakpoints: Accept breakpoints on NULL address") and restores the
previous expected ptrace behaviour.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/hw_breakpoint.c