MIPS: Align .data.cacheline_aligned based on CONFIG_MIPS_L1_CACHE_SHIFT
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
e47c659b55
commit
2dbac10263
|
@ -104,7 +104,7 @@ SECTIONS
|
||||||
. = ALIGN(_PAGE_SIZE);
|
. = ALIGN(_PAGE_SIZE);
|
||||||
__nosave_end = .;
|
__nosave_end = .;
|
||||||
|
|
||||||
. = ALIGN(32);
|
. = ALIGN(1 << CONFIG_MIPS_L1_CACHE_SHIFT);
|
||||||
.data.cacheline_aligned : {
|
.data.cacheline_aligned : {
|
||||||
*(.data.cacheline_aligned)
|
*(.data.cacheline_aligned)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue