diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-11-14 01:12:47 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-14 01:29:17 +0100 |
commit | 688bcaff291cf2fe2734e43f2793d4d05b850518 (patch) | |
tree | 95078fb51e922800c568b1a33b65608f924eb154 /crypto | |
parent | 687b16fb617bd446439425a368ad7c7bbd202c73 (diff) | |
download | op-kernel-dev-688bcaff291cf2fe2734e43f2793d4d05b850518.zip op-kernel-dev-688bcaff291cf2fe2734e43f2793d4d05b850518.tar.gz |
hw-breakpoints: Fix build on !perf architectures
the arch/alpha build fails with:
In file included from tip/kernel/exit.c:52:
tip/include/linux/hw_breakpoint.h: In function 'hw_breakpoint_addr':
tip/include/linux/hw_breakpoint.h:21: error: 'struct perf_event' has no member named 'attr'
[...]
Move these helper inlines inside the CONFIG_HAVE_HW_BREAKPOINT ifdef.
Cc: 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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions