signal.c (b7d3622a39fde7658170b7f3cf6c6889bb8db30d) signal.c (c7edc9e326d53ca5ef9bed82de0740c6b107d55b)
1/*
2 * linux/arch/arm/kernel/signal.c
3 *
4 * Copyright (C) 1995-2009 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/errno.h>
11#include <linux/random.h>
12#include <linux/signal.h>
13#include <linux/personality.h>
14#include <linux/uaccess.h>
15#include <linux/tracehook.h>
1/*
2 * linux/arch/arm/kernel/signal.c
3 *
4 * Copyright (C) 1995-2009 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/errno.h>
11#include <linux/random.h>
12#include <linux/signal.h>
13#include <linux/personality.h>
14#include <linux/uaccess.h>
15#include <linux/tracehook.h>
16#include <linux/uprobes.h>
16
17#include <asm/elf.h>
18#include <asm/cacheflush.h>
19#include <asm/traps.h>
20#include <asm/ucontext.h>
21#include <asm/unistd.h>
22#include <asm/vfp.h>
23

--- 561 unchanged lines hidden (view full) ---

585 /*
586 * Restart without handlers.
587 * Deal with it without leaving
588 * the kernel space.
589 */
590 return restart;
591 }
592 syscall = 0;
17
18#include <asm/elf.h>
19#include <asm/cacheflush.h>
20#include <asm/traps.h>
21#include <asm/ucontext.h>
22#include <asm/unistd.h>
23#include <asm/vfp.h>
24

--- 561 unchanged lines hidden (view full) ---

586 /*
587 * Restart without handlers.
588 * Deal with it without leaving
589 * the kernel space.
590 */
591 return restart;
592 }
593 syscall = 0;
594 } else if (thread_flags & _TIF_UPROBE) {
595 clear_thread_flag(TIF_UPROBE);
596 uprobe_notify_resume(regs);
593 } else {
594 clear_thread_flag(TIF_NOTIFY_RESUME);
595 tracehook_notify_resume(regs);
596 }
597 }
598 local_irq_disable();
599 thread_flags = current_thread_info()->flags;
600 } while (thread_flags & _TIF_WORK_MASK);

--- 32 unchanged lines hidden ---
597 } else {
598 clear_thread_flag(TIF_NOTIFY_RESUME);
599 tracehook_notify_resume(regs);
600 }
601 }
602 local_irq_disable();
603 thread_flags = current_thread_info()->flags;
604 } while (thread_flags & _TIF_WORK_MASK);

--- 32 unchanged lines hidden ---