diff options
Diffstat (limited to 'arch/mips/kernel/unaligned.c')
| -rw-r--r-- | arch/mips/kernel/unaligned.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/kernel/unaligned.c b/arch/mips/kernel/unaligned.c index cfea1adfa15..eb319b58035 100644 --- a/arch/mips/kernel/unaligned.c +++ b/arch/mips/kernel/unaligned.c | |||
| @@ -111,8 +111,7 @@ static void emulate_load_store_insn(struct pt_regs *regs, | |||
| 111 | unsigned long value; | 111 | unsigned long value; |
| 112 | unsigned int res; | 112 | unsigned int res; |
| 113 | 113 | ||
| 114 | perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, | 114 | perf_sw_event(PERF_COUNT_SW_EMULATION_FAULTS, 1, regs, 0); |
| 115 | 1, 0, regs, 0); | ||
| 116 | 115 | ||
| 117 | /* | 116 | /* |
| 118 | * This load never faults. | 117 | * This load never faults. |
| @@ -517,7 +516,7 @@ asmlinkage void do_ade(struct pt_regs *regs) | |||
| 517 | mm_segment_t seg; | 516 | mm_segment_t seg; |
| 518 | 517 | ||
| 519 | perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, | 518 | perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, |
| 520 | 1, 0, regs, regs->cp0_badvaddr); | 519 | 1, regs, regs->cp0_badvaddr); |
| 521 | /* | 520 | /* |
| 522 | * Did we catch a fault trying to load an instruction? | 521 | * Did we catch a fault trying to load an instruction? |
| 523 | * Or are we running in MIPS16 mode? | 522 | * Or are we running in MIPS16 mode? |
