aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/hw_breakpoint.h2
-rw-r--r--include/linux/hw_breakpoint.h (renamed from include/asm-generic/hw_breakpoint.h)9
2 files changed, 4 insertions, 7 deletions
diff --git a/arch/x86/include/asm/hw_breakpoint.h b/arch/x86/include/asm/hw_breakpoint.h
index 1acb4d45de70..3cfca8e2b5f6 100644
--- a/arch/x86/include/asm/hw_breakpoint.h
+++ b/arch/x86/include/asm/hw_breakpoint.h
@@ -12,7 +12,7 @@ struct arch_hw_breakpoint {
12}; 12};
13 13
14#include <linux/kdebug.h> 14#include <linux/kdebug.h>
15#include <asm-generic/hw_breakpoint.h> 15#include <linux/hw_breakpoint.h>
16 16
17/* Available HW breakpoint length encodings */ 17/* Available HW breakpoint length encodings */
18#define HW_BREAKPOINT_LEN_1 0x40 18#define HW_BREAKPOINT_LEN_1 0x40
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);
136extern unsigned int hbp_kernel_pos; 133extern 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 */