|
@@ -204,9 +204,9 @@ static int kill_proc(struct task_struct *t, unsigned long addr, int trapno,
|
|
|
#endif
|
|
|
si.si_addr_lsb = compound_order(compound_head(page)) + PAGE_SHIFT;
|
|
|
|
|
|
- if ((flags & MF_ACTION_REQUIRED) && t == current) {
|
|
|
+ if ((flags & MF_ACTION_REQUIRED) && t->mm == current->mm) {
|
|
|
si.si_code = BUS_MCEERR_AR;
|
|
|
- ret = force_sig_info(SIGBUS, &si, t);
|
|
|
+ ret = force_sig_info(SIGBUS, &si, current);
|
|
|
} else {
|
|
|
/*
|
|
|
* Don't use force here, it's convenient if the signal
|