aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/entry.S
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-01-04 19:17:33 -0500
committerTejun Heo <tj@kernel.org>2010-01-04 19:17:33 -0500
commit32032df6c2f6c9c6b2ada2ce42322231824f70c2 (patch)
treeb1ce838a37044bb38dfc128e2116ca35630e629a /arch/blackfin/mach-common/entry.S
parent22b737f4c75197372d64afc6ed1bccd58c00e549 (diff)
parentc5974b835a909ff15c3b7e6cf6789b5eb919f419 (diff)
Merge branch 'master' into percpu
Conflicts: arch/powerpc/platforms/pseries/hvCall.S include/linux/percpu.h
Diffstat (limited to 'arch/blackfin/mach-common/entry.S')
-rw-r--r--arch/blackfin/mach-common/entry.S38
1 files changed, 10 insertions, 28 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S
index a3ea7e9fe43b..01b2f58dfb95 100644
--- a/arch/blackfin/mach-common/entry.S
+++ b/arch/blackfin/mach-common/entry.S
@@ -1,32 +1,11 @@
1/* 1/*
2 * File: arch/blackfin/mach-common/entry.S 2 * Contains the system-call and fault low-level handling routines.
3 * Based on: 3 * This also contains the timer-interrupt handler, as well as all
4 * Author: Linus Torvalds 4 * interrupts and faults that can result in a task-switch.
5 * 5 *
6 * Created: ? 6 * Copyright 2005-2009 Analog Devices Inc.
7 * Description: contains the system-call and fault low-level handling routines.
8 * This also contains the timer-interrupt handler, as well as all
9 * interrupts and faults that can result in a task-switch.
10 * 7 *
11 * Modified: 8 * Licensed under the GPL-2 or later.
12 * Copyright 2004-2006 Analog Devices Inc.
13 *
14 * Bugs: Enter bugs at http://blackfin.uclinux.org/
15 *
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or
19 * (at your option) any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, see the file COPYING, or write
28 * to the Free Software Foundation, Inc.,
29 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30 */ 9 */
31 10
32/* NOTE: This code handles signal-recognition, which happens every time 11/* NOTE: This code handles signal-recognition, which happens every time
@@ -734,6 +713,8 @@ ENTRY(_system_call)
734 cc = BITTST(r7, TIF_RESTORE_SIGMASK); 713 cc = BITTST(r7, TIF_RESTORE_SIGMASK);
735 if cc jump .Lsyscall_do_signals; 714 if cc jump .Lsyscall_do_signals;
736 cc = BITTST(r7, TIF_SIGPENDING); 715 cc = BITTST(r7, TIF_SIGPENDING);
716 if cc jump .Lsyscall_do_signals;
717 cc = BITTST(r7, TIF_NOTIFY_RESUME);
737 if !cc jump .Lsyscall_really_exit; 718 if !cc jump .Lsyscall_really_exit;
738.Lsyscall_do_signals: 719.Lsyscall_do_signals:
739 /* Reenable interrupts. */ 720 /* Reenable interrupts. */
@@ -742,7 +723,7 @@ ENTRY(_system_call)
742 723
743 r0 = sp; 724 r0 = sp;
744 SP += -12; 725 SP += -12;
745 call _do_signal; 726 call _do_notify_resume;
746 SP += 12; 727 SP += 12;
747 728
748.Lsyscall_really_exit: 729.Lsyscall_really_exit:
@@ -1443,7 +1424,7 @@ ENTRY(_sys_call_table)
1443 .long _sys_ni_syscall /* streams2 */ 1424 .long _sys_ni_syscall /* streams2 */
1444 .long _sys_vfork /* 190 */ 1425 .long _sys_vfork /* 190 */
1445 .long _sys_getrlimit 1426 .long _sys_getrlimit
1446 .long _sys_mmap2 1427 .long _sys_mmap_pgoff
1447 .long _sys_truncate64 1428 .long _sys_truncate64
1448 .long _sys_ftruncate64 1429 .long _sys_ftruncate64
1449 .long _sys_stat64 /* 195 */ 1430 .long _sys_stat64 /* 195 */
@@ -1621,6 +1602,7 @@ ENTRY(_sys_call_table)
1621 .long _sys_pwritev 1602 .long _sys_pwritev
1622 .long _sys_rt_tgsigqueueinfo 1603 .long _sys_rt_tgsigqueueinfo
1623 .long _sys_perf_event_open 1604 .long _sys_perf_event_open
1605 .long _sys_recvmmsg /* 370 */
1624 1606
1625 .rept NR_syscalls-(.-_sys_call_table)/4 1607 .rept NR_syscalls-(.-_sys_call_table)/4
1626 .long _sys_ni_syscall 1608 .long _sys_ni_syscall