summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-05-07 11:39:11 +0200
committerThomas Gleixner <tglx@linutronix.de>2012-05-07 11:40:19 +0200
commit392d9215782595e92afb318c0d48c930f8e571f0 (patch)
tree60655233ebd067be9e495c8ec644ac45d97b4eca /arch/mips/kernel
parent481f93b67b44c762c0a34c4295837f633e869b1a (diff)
downloadlinux-stable-392d9215782595e92afb318c0d48c930f8e571f0.tar.gz
linux-stable-392d9215782595e92afb318c0d48c930f8e571f0.tar.bz2
linux-stable-392d9215782595e92afb318c0d48c930f8e571f0.zip
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/kernel')
-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
.data : { /* Data */
. = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */
- INIT_TASK_DATA(THREAD_SIZE)
+ INIT_TASK_DATA(PAGE_SIZE)
NOSAVE_DATA
CACHELINE_ALIGNED_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)
READ_MOSTLY_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)