diff options
Diffstat (limited to 'arch/sh/kernel/process_32.c')
| -rw-r--r-- | arch/sh/kernel/process_32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c index 6d94725d22f2..9289ede29c7b 100644 --- a/arch/sh/kernel/process_32.c +++ b/arch/sh/kernel/process_32.c | |||
| @@ -251,7 +251,8 @@ static void ubc_set_tracing(int asid, unsigned long pc) | |||
| 251 | 251 | ||
| 252 | if (current_cpu_data.type == CPU_SH7729 || | 252 | if (current_cpu_data.type == CPU_SH7729 || |
| 253 | current_cpu_data.type == CPU_SH7710 || | 253 | current_cpu_data.type == CPU_SH7710 || |
| 254 | current_cpu_data.type == CPU_SH7712) { | 254 | current_cpu_data.type == CPU_SH7712 || |
| 255 | current_cpu_data.type == CPU_SH7203){ | ||
| 255 | ctrl_outw(BBR_INST | BBR_READ | BBR_CPU, UBC_BBRA); | 256 | ctrl_outw(BBR_INST | BBR_READ | BBR_CPU, UBC_BBRA); |
| 256 | ctrl_outl(BRCR_PCBA | BRCR_PCTE, UBC_BRCR); | 257 | ctrl_outl(BRCR_PCBA | BRCR_PCTE, UBC_BRCR); |
| 257 | } else { | 258 | } else { |
| @@ -407,6 +408,7 @@ asmlinkage void break_point_trap(void) | |||
| 407 | #else | 408 | #else |
| 408 | ctrl_outw(0, UBC_BBRA); | 409 | ctrl_outw(0, UBC_BBRA); |
| 409 | ctrl_outw(0, UBC_BBRB); | 410 | ctrl_outw(0, UBC_BBRB); |
| 411 | ctrl_outl(0, UBC_BRCR); | ||
| 410 | #endif | 412 | #endif |
| 411 | current->thread.ubc_pc = 0; | 413 | current->thread.ubc_pc = 0; |
| 412 | ubc_usercnt -= 1; | 414 | ubc_usercnt -= 1; |
