]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita72fea328d0568dda93d69bb0869f5176cd0740f
tree1c0eaf832ed47273daa435b4329bed104accea85
parent5cd1612b08366f27c5a69d8551e6c14611ed07df
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