diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/hw_breakpoint.h (renamed from include/asm-generic/hw_breakpoint.h) | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/asm-generic/hw_breakpoint.h b/include/linux/hw_breakpoint.h index 9bf2d12eb74a..61ccc8f17eac 100644 --- a/include/asm-generic/hw_breakpoint.h +++ b/include/linux/hw_breakpoint.h | |||
@@ -1,9 +1,6 @@ | |||
1 | #ifndef _ASM_GENERIC_HW_BREAKPOINT_H | 1 | #ifndef _LINUX_HW_BREAKPOINT_H |
2 | #define _ASM_GENERIC_HW_BREAKPOINT_H | 2 | #define _LINUX_HW_BREAKPOINT_H |
3 | 3 | ||
4 | #ifndef __ARCH_HW_BREAKPOINT_H | ||
5 | #error "Please don't include this file directly" | ||
6 | #endif | ||
7 | 4 | ||
8 | #ifdef __KERNEL__ | 5 | #ifdef __KERNEL__ |
9 | #include <linux/list.h> | 6 | #include <linux/list.h> |
@@ -136,4 +133,4 @@ extern void unregister_kernel_hw_breakpoint(struct hw_breakpoint *bp); | |||
136 | extern unsigned int hbp_kernel_pos; | 133 | extern unsigned int hbp_kernel_pos; |
137 | 134 | ||
138 | #endif /* __KERNEL__ */ | 135 | #endif /* __KERNEL__ */ |
139 | #endif /* _ASM_GENERIC_HW_BREAKPOINT_H */ | 136 | #endif /* _LINUX_HW_BREAKPOINT_H */ |