forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 0d8657dd3056063fb115946b10157477b5c70451
kernel/kernel/exit.c
....@@ -160,7 +160,7 @@
160160 * Do this under ->siglock, we can race with another thread
161161 * doing sigqueue_free() if we have SIGQUEUE_PREALLOC signals.
162162 */
163
- flush_sigqueue(&tsk->pending);
163
+ flush_task_sigqueue(tsk);
164164 tsk->sighand = NULL;
165165 spin_unlock(&sighand->siglock);
166166