hw-breakpoints: Provide an off-case for counter_arch_bp()
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 13 Nov 2009 12:16:15 +0000 (13:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Nov 2009 23:27:38 +0000 (00:27 +0100)
commit687b16fb617bd446439425a368ad7c7bbd202c73
tree1c0eaf832ed47273daa435b4329bed104accea85
parent59d8eb53ea9947db7cad8ebc31b0fb54f23a9851
hw-breakpoints: Provide an off-case for counter_arch_bp()

If an arch doesn't support the hw breakpoints, counter_arch_bp()
has no off case to cover the missing breakpoint info structure
from the perf event. The result is a build error in non-x86
configs.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Prasad <prasad@linux.vnet.ibm.com>
LKML-Reference: <1258114575-32655-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Prasad <prasad@linux.vnet.ibm.com>
include/linux/hw_breakpoint.h