hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/arm64/kernel/perf_regs.c
....@@ -16,7 +16,7 @@
1616
1717 /*
1818 * Our handling of compat tasks (PERF_SAMPLE_REGS_ABI_32) is weird, but
19
- * we're stuck with it for ABI compatability reasons.
19
+ * we're stuck with it for ABI compatibility reasons.
2020 *
2121 * For a 32-bit consumer inspecting a 32-bit task, then it will look at
2222 * the first 16 registers (see arch/arm/include/uapi/asm/perf_regs.h).
....@@ -73,8 +73,7 @@
7373 }
7474
7575 void perf_get_regs_user(struct perf_regs *regs_user,
76
- struct pt_regs *regs,
77
- struct pt_regs *regs_user_copy)
76
+ struct pt_regs *regs)
7877 {
7978 regs_user->regs = task_pt_regs(current);
8079 regs_user->abi = perf_reg_abi(current);