diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-30 11:29:56 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-30 11:29:56 +0900 |
commit | 31a090ae0693af189fc7a8ad16cece4878acad33 (patch) | |
tree | ab2b51859bc9cbddc3eb3693c3d48a7512b48ac4 /arch/sh | |
parent | 97b19778ee5dd0484493f12f6a9cf9391cf0aefb (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')
-rw-r--r-- | arch/sh/include/asm/hw_breakpoint.h | 6 |
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 7295d6290249..965dd780d51b 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; |