~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/s390/kernel/entry64.S

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
_TIF_WORK_INT = (_TIF_SIGPENDING | _TIF_NOTIFY_RESUME | _TIF_NEED_RESCHED | \
56
56
                 _TIF_MCCK_PENDING)
57
57
_TIF_SYSCALL = (_TIF_SYSCALL_TRACE>>8 | _TIF_SYSCALL_AUDIT>>8 | \
58
 
                _TIF_SECCOMP>>8 | _TIF_SYSCALL_TRACEPOINT>>8 | \
59
 
                _TIF_KERNEL_TRACE>>8)
 
58
                _TIF_SECCOMP>>8 | _TIF_SYSCALL_TRACEPOINT>>8)
60
59
 
61
60
#define BASED(name) name-system_call(%r13)
62
61
 
221
220
        lctl    %c4,%c4,__TASK_pid(%r3)         # load pid to control reg. 4
222
221
        lmg     %r6,%r15,__SF_GPRS(%r15)        # load gprs of next task
223
222
        stg     %r3,__LC_CURRENT                # store task struct of next
 
223
        mvc     __LC_CURRENT_PID+4(4,%r0),__TASK_pid(%r3) # store pid of next
224
224
        stg     %r5,__LC_THREAD_INFO            # store thread info of next
225
225
        aghi    %r5,STACK_SIZE                  # end of kernel stack of next
226
226
        stg     %r5,__LC_KERNEL_STACK           # store end of kernel stack
842
842
        mvc     __LC_SYSTEM_TIMER(8),__TI_system_timer(%r1)
843
843
        xc      __LC_STEAL_TIMER(8),__LC_STEAL_TIMER
844
844
        stosm   __SF_EMPTY(%r15),0x04   # now we can turn dat on
845
 
        jg      start_secondary
 
845
        brasl   %r14,start_secondary
846
846
        .align  8
847
847
restart_vtime:
848
848
        .long   0x7fffffff,0xffffffff