summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/stackframe.h4
-rw-r--r--arch/mips/include/asm/thread_info.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h
index 2f182bdf024f..6c74a804fe98 100644
--- a/arch/mips/include/asm/stackframe.h
+++ b/arch/mips/include/asm/stackframe.h
@@ -364,9 +364,13 @@
364 364
365 .macro RESTORE_SP_AND_RET 365 .macro RESTORE_SP_AND_RET
366 LONG_L sp, PT_R29(sp) 366 LONG_L sp, PT_R29(sp)
367#ifdef CONFIG_CPU_MIPSR6
368 eretnc
369#else
367 .set arch=r4000 370 .set arch=r4000
368 eret 371 eret
369 .set mips0 372 .set mips0
373#endif
370 .endm 374 .endm
371 375
372#endif 376#endif
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h
index e309d8fcb516..b439e512792b 100644
--- a/arch/mips/include/asm/thread_info.h
+++ b/arch/mips/include/asm/thread_info.h
@@ -27,7 +27,6 @@ struct thread_info {
27 unsigned long tp_value; /* thread pointer */ 27 unsigned long tp_value; /* thread pointer */
28 __u32 cpu; /* current CPU */ 28 __u32 cpu; /* current CPU */
29 int preempt_count; /* 0 => preemptable, <0 => BUG */ 29 int preempt_count; /* 0 => preemptable, <0 => BUG */
30 int r2_emul_return; /* 1 => Returning from R2 emulator */
31 mm_segment_t addr_limit; /* 30 mm_segment_t addr_limit; /*
32 * thread address space limit: 31 * thread address space limit:
33 * 0x7fffffff for user-thead 32 * 0x7fffffff for user-thead