diff options
Diffstat (limited to 'arch/sh/include/asm/hw_breakpoint.h')
-rw-r--r-- | arch/sh/include/asm/hw_breakpoint.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/sh/include/asm/hw_breakpoint.h b/arch/sh/include/asm/hw_breakpoint.h index ec9ad593c3da..01a38696137e 100644 --- a/arch/sh/include/asm/hw_breakpoint.h +++ b/arch/sh/include/asm/hw_breakpoint.h @@ -7,6 +7,7 @@ #include <linux/kdebug.h> #include <linux/types.h> +#include <cpu/ubc.h> struct arch_hw_breakpoint { char *name; /* Contains name of the symbol to set bkpt */ @@ -15,17 +16,6 @@ struct arch_hw_breakpoint { u16 type; }; -enum { - SH_BREAKPOINT_READ = (1 << 1), - SH_BREAKPOINT_WRITE = (1 << 2), - SH_BREAKPOINT_RW = SH_BREAKPOINT_READ | SH_BREAKPOINT_WRITE, - - SH_BREAKPOINT_LEN_1 = (1 << 12), - SH_BREAKPOINT_LEN_2 = (1 << 13), - SH_BREAKPOINT_LEN_4 = SH_BREAKPOINT_LEN_1 | SH_BREAKPOINT_LEN_2, - SH_BREAKPOINT_LEN_8 = (1 << 14), -}; - struct sh_ubc { const char *name; unsigned int num_events; |