aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-05-07 05:39:11 -0400
committerThomas Gleixner <tglx@linutronix.de>2012-05-07 05:40:19 -0400
commit392d9215782595e92afb318c0d48c930f8e571f0 (patch)
tree60655233ebd067be9e495c8ec644ac45d97b4eca /arch/mips
parent481f93b67b44c762c0a34c4295837f633e869b1a (diff)
mips: Use PAGE_SIZE for INIT_TASK_DATA alignment again
957b369c (mips: Use generic init_task) optimistically replaced the PAGE_SIZE INIT_TASK_DATA alignment with THREAD_SIZE, but THREAD_SIZE is not defined, so the linking stage breaks. Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/vmlinux.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index e6772f2cf3df..924da5eb7031 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -72,7 +72,7 @@ SECTIONS
72 .data : { /* Data */ 72 .data : { /* Data */
73 . = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */ 73 . = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */
74 74
75 INIT_TASK_DATA(THREAD_SIZE) 75 INIT_TASK_DATA(PAGE_SIZE)
76 NOSAVE_DATA 76 NOSAVE_DATA
77 CACHELINE_ALIGNED_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT) 77 CACHELINE_ALIGNED_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)
78 READ_MOSTLY_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT) 78 READ_MOSTLY_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)