aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-29 21:29:56 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-01-29 21:29:56 -0500
commit31a090ae0693af189fc7a8ad16cece4878acad33 (patch)
treeab2b51859bc9cbddc3eb3693c3d48a7512b48ac4
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>
-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 7295d6290249..965dd780d51b 100644
--- a/arch/sh/include/asm/hw_breakpoint.h
+++ b/arch/sh/include/asm/hw_breakpoint.h
@@ -1,12 +1,12 @@
1#ifndef __ASM_SH_HW_BREAKPOINT_H 1#ifndef __ASM_SH_HW_BREAKPOINT_H
2#define __ASM_SH_HW_BREAKPOINT_H 2#define __ASM_SH_HW_BREAKPOINT_H
3 3
4#include <linux/kdebug.h>
5#include <linux/types.h>
6
7#ifdef __KERNEL__ 4#ifdef __KERNEL__
8#define __ARCH_HW_BREAKPOINT_H 5#define __ARCH_HW_BREAKPOINT_H
9 6
7#include <linux/kdebug.h>
8#include <linux/types.h>
9
10struct arch_hw_breakpoint { 10struct arch_hw_breakpoint {
11 char *name; /* Contains name of the symbol to set bkpt */ 11 char *name; /* Contains name of the symbol to set bkpt */
12 unsigned long address; 12 unsigned long address;