aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/hw_breakpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/hw_breakpoint.c')
-rw-r--r--arch/sh/kernel/hw_breakpoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/hw_breakpoint.c b/arch/sh/kernel/hw_breakpoint.c
index 3bd010b4c55f..f10d64311127 100644
--- a/arch/sh/kernel/hw_breakpoint.c
+++ b/arch/sh/kernel/hw_breakpoint.c
@@ -157,6 +157,7 @@ int arch_bp_generic_fields(int sh_len, int sh_type,
157 switch (sh_type) { 157 switch (sh_type) {
158 case SH_BREAKPOINT_READ: 158 case SH_BREAKPOINT_READ:
159 *gen_type = HW_BREAKPOINT_R; 159 *gen_type = HW_BREAKPOINT_R;
160 break;
160 case SH_BREAKPOINT_WRITE: 161 case SH_BREAKPOINT_WRITE:
161 *gen_type = HW_BREAKPOINT_W; 162 *gen_type = HW_BREAKPOINT_W;
162 break; 163 break;