summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/perf_regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/kernel/perf_regs.c')
-rw-r--r--arch/parisc/kernel/perf_regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/perf_regs.c b/arch/parisc/kernel/perf_regs.c
index 68458e2f6197..10a1a5f06a18 100644
--- a/arch/parisc/kernel/perf_regs.c
+++ b/arch/parisc/kernel/perf_regs.c
@@ -27,7 +27,7 @@ u64 perf_reg_value(struct pt_regs *regs, int idx)
return regs->ior;
case PERF_REG_PARISC_IPSW: /* CR22 */
return regs->ipsw;
- };
+ }
WARN_ON_ONCE((u32)idx >= PERF_REG_PARISC_MAX);
return 0;
}