All of the callers pass current into force_sig_mceer so remove the task parameter to make this obvious. This also makes it clear that force_sig_mceerr passes current into force_sig_info.
Showing the changes to include/linux (1 of 7 files). Show all
Unified · Split
| @@ -316,7 +316,7 @@ int send_sig_fault(int sig, int code, void __user *addr · 315 unmodified lines | |||
| 316 | ___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr) | 316 | ___ARCH_SI_IA64(int imm, unsigned int flags, unsigned long isr) |
| 317 | , struct task_struct *t); | 317 | , struct task_struct *t); |
| 318 | 318 | ||
| 319 | int force_sig_mceerr(int code, void __user *, short, struct task_struct *); | 319 | int force_sig_mceerr(int code, void __user *, short); |
| 320 | int send_sig_mceerr(int code, void __user *, short, struct task_struct *); | 320 | int send_sig_mceerr(int code, void __user *, short, struct task_struct *); |
| 321 | 321 | ||
| 322 | int force_sig_bnderr(void __user *addr, void __user *lower, void __user *upper); | 322 | int force_sig_bnderr(void __user *addr, void __user *lower, void __user *upper); |