]> git.baikalelectronics.ru Git - kernel.git/commit
hw-breakpoints: Check disabled breakpoints again
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 17 Apr 2010 16:11:59 +0000 (18:11 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sat, 1 May 2010 02:32:09 +0000 (04:32 +0200)
commit5f651b6e693885f278d6e040fdf2263496df04db
tree5a9449e181d59e2142e5424fe68bea225597476a
parent15a8fddd060063d4b70a8fc4e7cdd81911e9a462
hw-breakpoints: Check disabled breakpoints again

We stopped checking disabled breakpoints because we weren't
allowing breakpoints on NULL addresses. And gdb tends to set
NULL addresses on inactive breakpoints.

But refusing NULL addresses was actually a regression that has
been fixed now. There is no reason anymore to not validate
inactive breakpoint settings.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Cc: K. Prasad <prasad@linux.vnet.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Ingo Molnar <mingo@elte.hu>
kernel/hw_breakpoint.c