diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 17:57:30 +0200 | 
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 17:57:30 +0200 | 
| commit | b22d1b6a91ca4260f869e349179ae53f18c664db (patch) | |
| tree | 6ac6c2bd202100727638f02ae5037ec78144e8d5 /arch/mips/include/asm/stackframe.h | |
| parent | 5e0e61dd2c89c673f89fb57dcd3cc746dc0c1706 (diff) | |
| parent | 0ab2b7d08ea7226dc72ff0f8c05f470566facf7c (diff) | |
| download | olio-linux-3.10-b22d1b6a91ca4260f869e349179ae53f18c664db.tar.xz olio-linux-3.10-b22d1b6a91ca4260f869e349179ae53f18c664db.zip  | |
Merge branch 'mti-next' of git://git.linux-mips.org/pub/scm/sjhill/linux-sjhill into mips-for-linux-next
Diffstat (limited to 'arch/mips/include/asm/stackframe.h')
| -rw-r--r-- | arch/mips/include/asm/stackframe.h | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h index c9938401816..a89d1b10d02 100644 --- a/arch/mips/include/asm/stackframe.h +++ b/arch/mips/include/asm/stackframe.h @@ -139,7 +139,7 @@  1:		move	ra, k0  		li	k0, 3  		mtc0	k0, $22 -#endif /* CONFIG_CPU_LOONGSON2F */ +#endif /* CONFIG_CPU_JUMP_WORKAROUNDS */  #if defined(CONFIG_32BIT) || defined(KBUILD_64BIT_SYM32)  		lui	k1, %hi(kernelsp)  #else @@ -189,6 +189,7 @@  		LONG_S	$0, PT_R0(sp)  		mfc0	v1, CP0_STATUS  		LONG_S	$2, PT_R2(sp) +		LONG_S	v1, PT_STATUS(sp)  #ifdef CONFIG_MIPS_MT_SMTC  		/*  		 * Ideally, these instructions would be shuffled in @@ -200,21 +201,20 @@  		LONG_S	k0, PT_TCSTATUS(sp)  #endif /* CONFIG_MIPS_MT_SMTC */  		LONG_S	$4, PT_R4(sp) -		LONG_S	$5, PT_R5(sp) -		LONG_S	v1, PT_STATUS(sp)  		mfc0	v1, CP0_CAUSE -		LONG_S	$6, PT_R6(sp) -		LONG_S	$7, PT_R7(sp) +		LONG_S	$5, PT_R5(sp)  		LONG_S	v1, PT_CAUSE(sp) +		LONG_S	$6, PT_R6(sp)  		MFC0	v1, CP0_EPC +		LONG_S	$7, PT_R7(sp)  #ifdef CONFIG_64BIT  		LONG_S	$8, PT_R8(sp)  		LONG_S	$9, PT_R9(sp)  #endif +		LONG_S	v1, PT_EPC(sp)  		LONG_S	$25, PT_R25(sp)  		LONG_S	$28, PT_R28(sp)  		LONG_S	$31, PT_R31(sp) -		LONG_S	v1, PT_EPC(sp)  		ori	$28, sp, _THREAD_MASK  		xori	$28, _THREAD_MASK  #ifdef CONFIG_CPU_CAVIUM_OCTEON  |