~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to arch/m68k/kernel/entry_no.S

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno
  • Date: 2011-06-07 12:14:05 UTC
  • mfrom: (43.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110607121405-i3h1rd7nrnd2b73h
Tags: 2.6.39-2
[ Ben Hutchings ]
* [x86] Enable BACKLIGHT_APPLE, replacing BACKLIGHT_MBP_NVIDIA
  (Closes: #627492)
* cgroups: Disable memory resource controller by default. Allow it
  to be enabled using kernel parameter 'cgroup_enable=memory'.
* rt2800usb: Enable support for more USB devices including
  Linksys WUSB600N (Closes: #596626) (this change was accidentally
  omitted from 2.6.39-1)
* [x86] Remove Celeron from list of processors supporting PAE. Most
  'Celeron M' models do not.
* Update debconf template translations:
  - Swedish (Martin Bagge) (Closes: #628932)
  - French (David Prévot) (Closes: #628191)
* aufs: Update for 2.6.39 (Closes: #627837)
* Add stable 2.6.39.1, including:
  - ext4: dont set PageUptodate in ext4_end_bio()
  - pata_cmd64x: fix boot crash on parisc (Closes: #622997, #622745)
  - ext3: Fix fs corruption when make_indexed_dir() fails
  - netfilter: nf_ct_sip: validate Content-Length in TCP SIP messages
  - sctp: fix race between sctp_bind_addr_free() and
    sctp_bind_addr_conflict()
  - sctp: fix memory leak of the ASCONF queue when free asoc
  - md/bitmap: fix saving of events_cleared and other state
  - cdc_acm: Fix oops when Droids MuIn LCD is connected
  - cx88: Fix conversion from BKL to fine-grained locks (Closes: #619827)
  - keys: Set cred->user_ns in key_replace_session_keyring (CVE-2011-2184)
  - tmpfs: fix race between truncate and writepage
  - nfs41: Correct offset for LAYOUTCOMMIT
  - xen/mmu: fix a race window causing leave_mm BUG()
  - ext4: fix possible use-after-free in ext4_remove_li_request()
  For the complete list of changes, see:
   http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39.1
* Bump ABI to 2
* netfilter: Enable IP_SET, IP_SET_BITMAP_IP, IP_SET_BITMAP_IPMAC,
  IP_SET_BITMAP_PORT, IP_SET_HASH_IP, IP_SET_HASH_IPPORT,
  IP_SET_HASH_IPPORTIP, IP_SET_HASH_IPPORTNET, IP_SET_HASH_NET,
  IP_SET_HASH_NETPORT, IP_SET_LIST_SET, NETFILTER_XT_SET as modules
  (Closes: #629401)

[ Aurelien Jarno ]
* [mipsel/loongson-2f] Disable_SCSI_LPFC to workaround GCC ICE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  linux/arch/m68knommu/kernel/entry.S
 
3
 *
 
4
 *  Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
 
5
 *  Copyright (C) 1998  D. Jeff Dionne <jeff@lineo.ca>,
 
6
 *                      Kenneth Albanowski <kjahds@kjahds.com>,
 
7
 *  Copyright (C) 2000  Lineo Inc. (www.lineo.com) 
 
8
 *
 
9
 * Based on:
 
10
 *
 
11
 *  linux/arch/m68k/kernel/entry.S
 
12
 *
 
13
 *  Copyright (C) 1991, 1992  Linus Torvalds
 
14
 *
 
15
 * This file is subject to the terms and conditions of the GNU General Public
 
16
 * License.  See the file README.legal in the main directory of this archive
 
17
 * for more details.
 
18
 *
 
19
 * Linux/m68k support by Hamish Macdonald
 
20
 *
 
21
 * 68060 fixes by Jesper Skov
 
22
 * ColdFire support by Greg Ungerer (gerg@snapgear.com)
 
23
 * 5307 fixes by David W. Miller
 
24
 * linux 2.4 support David McCullough <davidm@snapgear.com>
 
25
 */
 
26
 
 
27
#include <linux/sys.h>
 
28
#include <linux/linkage.h>
 
29
#include <asm/errno.h>
 
30
#include <asm/setup.h>
 
31
#include <asm/segment.h>
 
32
#include <asm/asm-offsets.h>
 
33
#include <asm/entry.h>
 
34
#include <asm/unistd.h>
 
35
 
 
36
.text
 
37
 
 
38
.globl buserr
 
39
.globl trap
 
40
.globl ret_from_exception
 
41
.globl ret_from_signal
 
42
.globl sys_fork
 
43
.globl sys_clone
 
44
.globl sys_vfork
 
45
 
 
46
ENTRY(buserr)
 
47
        SAVE_ALL
 
48
        moveq   #-1,%d0
 
49
        movel   %d0,%sp@(PT_OFF_ORIG_D0)
 
50
        movel   %sp,%sp@-               /* stack frame pointer argument */
 
51
        jsr     buserr_c
 
52
        addql   #4,%sp
 
53
        jra     ret_from_exception
 
54
 
 
55
ENTRY(trap)
 
56
        SAVE_ALL
 
57
        moveq   #-1,%d0
 
58
        movel   %d0,%sp@(PT_OFF_ORIG_D0)
 
59
        movel   %sp,%sp@-               /* stack frame pointer argument */
 
60
        jsr     trap_c
 
61
        addql   #4,%sp
 
62
        jra     ret_from_exception
 
63
 
 
64
#ifdef TRAP_DBG_INTERRUPT
 
65
 
 
66
.globl dbginterrupt
 
67
ENTRY(dbginterrupt)
 
68
        SAVE_ALL
 
69
        moveq   #-1,%d0
 
70
        movel   %d0,%sp@(PT_OFF_ORIG_D0)
 
71
        movel   %sp,%sp@-               /* stack frame pointer argument */
 
72
        jsr     dbginterrupt_c
 
73
        addql   #4,%sp
 
74
        jra     ret_from_exception
 
75
#endif
 
76
 
 
77
ENTRY(reschedule)
 
78
        /* save top of frame */
 
79
        pea     %sp@
 
80
        jbsr    set_esp0
 
81
        addql   #4,%sp
 
82
        pea     ret_from_exception
 
83
        jmp     schedule
 
84
 
 
85
ENTRY(ret_from_fork)
 
86
        movel   %d1,%sp@-
 
87
        jsr     schedule_tail
 
88
        addql   #4,%sp
 
89
        jra     ret_from_exception
 
90
 
 
91
ENTRY(sys_fork)
 
92
        SAVE_SWITCH_STACK
 
93
        pea     %sp@(SWITCH_STACK_SIZE)
 
94
        jbsr    m68k_fork
 
95
        addql   #4,%sp
 
96
        RESTORE_SWITCH_STACK
 
97
        rts
 
98
 
 
99
ENTRY(sys_vfork)
 
100
        SAVE_SWITCH_STACK
 
101
        pea     %sp@(SWITCH_STACK_SIZE)
 
102
        jbsr    m68k_vfork
 
103
        addql   #4,%sp
 
104
        RESTORE_SWITCH_STACK
 
105
        rts
 
106
 
 
107
ENTRY(sys_clone)
 
108
        SAVE_SWITCH_STACK
 
109
        pea     %sp@(SWITCH_STACK_SIZE)
 
110
        jbsr    m68k_clone
 
111
        addql   #4,%sp
 
112
        RESTORE_SWITCH_STACK
 
113
        rts
 
114
 
 
115
ENTRY(sys_sigreturn)
 
116
        SAVE_SWITCH_STACK
 
117
        jbsr    do_sigreturn
 
118
        RESTORE_SWITCH_STACK
 
119
        rts
 
120
 
 
121
ENTRY(sys_rt_sigreturn)
 
122
        SAVE_SWITCH_STACK
 
123
        jbsr    do_rt_sigreturn
 
124
        RESTORE_SWITCH_STACK
 
125
        rts
 
126
 
 
127
ENTRY(ret_from_user_signal)
 
128
        moveq #__NR_sigreturn,%d0
 
129
        trap #0
 
130
 
 
131
ENTRY(ret_from_user_rt_signal)
 
132
        movel #__NR_rt_sigreturn,%d0
 
133
        trap #0
 
134