mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 01:40:53 +07:00
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>
This commit is contained in:
parent
481f93b67b
commit
392d921578
@ -72,7 +72,7 @@ SECTIONS
|
|||||||
.data : { /* Data */
|
.data : { /* Data */
|
||||||
. = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */
|
. = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */
|
||||||
|
|
||||||
INIT_TASK_DATA(THREAD_SIZE)
|
INIT_TASK_DATA(PAGE_SIZE)
|
||||||
NOSAVE_DATA
|
NOSAVE_DATA
|
||||||
CACHELINE_ALIGNED_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)
|
CACHELINE_ALIGNED_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)
|
||||||
READ_MOSTLY_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)
|
READ_MOSTLY_DATA(1 << CONFIG_MIPS_L1_CACHE_SHIFT)
|
||||||
|
Loading…
Reference in New Issue
Block a user