summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-11-05 23:06:50 +0100
committerFrederic Weisbecker <fweisbec@gmail.com>2009-11-05 23:48:01 +0100
commit2da3e160cb3d226d87b907fab26850d838ed8d7c (patch)
tree02ec5cbadf8d3236770d0f3a908e2a571716e382 /include
parent97eaf5300b9d0cd99c310bf8c4a0f2f3296d88a3 (diff)
downloadlinux-2da3e160cb3d226d87b907fab26850d838ed8d7c.tar.gz
linux-2da3e160cb3d226d87b907fab26850d838ed8d7c.tar.bz2
linux-2da3e160cb3d226d87b907fab26850d838ed8d7c.zip
hw-breakpoint: Move asm-generic/hw_breakpoint.h to linux/hw_breakpoint.h
We plan to make the breakpoints parameters generic among architectures. For that it's better to move the asm-generic header to a generic linux header. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
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 @@
-#ifndef _ASM_GENERIC_HW_BREAKPOINT_H
-#define _ASM_GENERIC_HW_BREAKPOINT_H
+#ifndef _LINUX_HW_BREAKPOINT_H
+#define _LINUX_HW_BREAKPOINT_H
-#ifndef __ARCH_HW_BREAKPOINT_H
-#error "Please don't include this file directly"
-#endif
#ifdef __KERNEL__
#include <linux/list.h>
@@ -136,4 +133,4 @@ extern void unregister_kernel_hw_breakpoint(struct hw_breakpoint *bp);
extern unsigned int hbp_kernel_pos;
#endif /* __KERNEL__ */
-#endif /* _ASM_GENERIC_HW_BREAKPOINT_H */
+#endif /* _LINUX_HW_BREAKPOINT_H */