.. | .. |
---|
16 | 16 | |
---|
17 | 17 | /* |
---|
18 | 18 | * 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. |
---|
20 | 20 | * |
---|
21 | 21 | * For a 32-bit consumer inspecting a 32-bit task, then it will look at |
---|
22 | 22 | * the first 16 registers (see arch/arm/include/uapi/asm/perf_regs.h). |
---|
.. | .. |
---|
73 | 73 | } |
---|
74 | 74 | |
---|
75 | 75 | 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) |
---|
78 | 77 | { |
---|
79 | 78 | regs_user->regs = task_pt_regs(current); |
---|
80 | 79 | regs_user->abi = perf_reg_abi(current); |
---|