aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-30 11:29:56 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-01-30 11:29:56 +0900
commit31a090ae0693af189fc7a8ad16cece4878acad33 (patch)
treeab2b51859bc9cbddc3eb3693c3d48a7512b48ac4 /arch/sh/include
parent97b19778ee5dd0484493f12f6a9cf9391cf0aefb (diff)
sh: Fix up asm/hw_breakpoint.h header check.
Presently headers_check complains about linux/kdebug.h being unexported, so just bump the __KERNEL__ ifdef up, as per the x86 change. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/hw_breakpoint.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/include/asm/hw_breakpoint.h b/arch/sh/include/asm/hw_breakpoint.h
index 7295d629024..965dd780d51 100644
--- a/arch/sh/include/asm/hw_breakpoint.h
+++ b/arch/sh/include/asm/hw_breakpoint.h
@@ -1,12 +1,12 @@
#ifndef __ASM_SH_HW_BREAKPOINT_H
#define __ASM_SH_HW_BREAKPOINT_H
-#include <linux/kdebug.h>
-#include <linux/types.h>
-
#ifdef __KERNEL__
#define __ARCH_HW_BREAKPOINT_H
+#include <linux/kdebug.h>
+#include <linux/types.h>
+
struct arch_hw_breakpoint {
char *name; /* Contains name of the symbol to set bkpt */
unsigned long address;