Skip to content

Commit

Permalink
sh: Fix up asm/hw_breakpoint.h header check.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Jan 30, 2010
1 parent 97b1977 commit 31a090a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/sh/include/asm/hw_breakpoint.h
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 31a090a

Please sign in to comment.