aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/thread_info.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-12-20 15:49:36 +0100
committerRalf Baechle <ralf@linux-mips.org>2012-12-27 16:27:35 +0100
commit02637b856c2b1ac9a721aeb1575c95068d125c72 (patch)
tree8d9a339370e6d826e30ee00be2190398a881b3ff /arch/mips/include/asm/thread_info.h
parentRevert "MIPS: Optimise TLB handlers for MIPS32/64 R2 cores." (diff)
downloadlinux-dev-02637b856c2b1ac9a721aeb1575c95068d125c72.tar.xz
linux-dev-02637b856c2b1ac9a721aeb1575c95068d125c72.zip
MIPS: Fix comment.
The value is incorrect and were copied in Linux 2.5.4 from i386. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/thread_info.h')
-rw-r--r--arch/mips/include/asm/thread_info.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h
index 18806a52061c..b2050b9e64b1 100644
--- a/arch/mips/include/asm/thread_info.h
+++ b/arch/mips/include/asm/thread_info.h
@@ -29,10 +29,11 @@ struct thread_info {
__u32 cpu; /* current CPU */
int preempt_count; /* 0 => preemptable, <0 => BUG */
- mm_segment_t addr_limit; /* thread address space:
- 0-0xBFFFFFFF for user-thead
- 0-0xFFFFFFFF for kernel-thread
- */
+ mm_segment_t addr_limit; /*
+ * thread address space limit:
+ * 0x7fffffff for user-thead
+ * 0xffffffff for kernel-thread
+ */
struct restart_block restart_block;
struct pt_regs *regs;
};