~ubuntu-branches/ubuntu/saucy/linux-ti-omap4/saucy-proposed

« back to all changes in this revision

Viewing changes to arch/mips/kernel/r2300_switch.S

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati, Stefan Bader, Upstream Kernel Changes
  • Date: 2012-08-15 17:17:43 UTC
  • Revision ID: package-import@ubuntu.com-20120815171743-h5wnuf51xe7pvdid
Tags: 3.5.0-207.13
[ Paolo Pisati ]

* Start new release

[ Stefan Bader ]

* (config) Enable getabis to use local package copies

[ Upstream Kernel Changes ]

* fixup: gargabe collect iva_seq[0|1] init
* [Config] enable all SND_OMAP_SOC_*s
* fixup: cm2xxx_3xxx.o is needed for omap2_cm_read|write_reg
* fixup: add some snd_soc_dai* helper functions
* fixup: s/snd_soc_dpcm_params/snd_soc_dpcm/g
* fixup: typo, no_host_mode and useless SDP4430 init
* fixup: enable again aess hwmod

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
/*
45
45
 * task_struct *resume(task_struct *prev, task_struct *next,
46
 
 *                     struct thread_info *next_ti) )
 
46
 *                     struct thread_info *next_ti, int usedfpu)
47
47
 */
48
48
LEAF(resume)
49
49
        mfc0    t1, CP0_STATUS
51
51
        cpu_save_nonscratch a0
52
52
        sw      ra, THREAD_REG31(a0)
53
53
 
54
 
        /*
55
 
         * check if we need to save FPU registers
56
 
         */
57
 
        lw      t3, TASK_THREAD_INFO(a0)
58
 
        lw      t0, TI_FLAGS(t3)
59
 
        li      t1, _TIF_USEDFPU
60
 
        and     t2, t0, t1
61
 
        beqz    t2, 1f
62
 
        nor     t1, zero, t1
 
54
        beqz    a3, 1f
63
55
 
64
 
        and     t0, t0, t1
65
 
        sw      t0, TI_FLAGS(t3)
 
56
        PTR_L   t3, TASK_THREAD_INFO(a0)
66
57
 
67
58
        /*
68
59
         * clear saved user stack CU1 bit