summaryrefslogtreecommitdiff
path: root/arch/mips
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
parent9120963578320532dfb3a9a7947e8d05b39900b5 (diff)
downloadkernel-common-02637b856c2b1ac9a721aeb1575c95068d125c72.tar.gz
kernel-common-02637b856c2b1ac9a721aeb1575c95068d125c72.tar.bz2
kernel-common-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')
-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;
};