summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 772fbbec2..82ed6c986 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -79,9 +79,7 @@ mem_map_t * mem_map = NULL;
void oom(struct task_struct * task)
{
printk("\nOut of memory for %s.\n", task->comm);
- task->sig->action[SIGKILL-1].sa_handler = NULL;
- task->blocked &= ~(1<<(SIGKILL-1));
- send_sig(SIGKILL,task,1);
+ force_sig(SIGKILL, task);
}
/*