MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT
PATCH 1/1 MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT
Align .data.cacheline_aligned based on the MIPS_L1_CACHE_SHIFT configuration variable.
---arch/mips/kernel/vmlinux.lds.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/kernel/vmlinux.lds.S +0 -0
@@ -104,7 +104,7 @@ SECTIONS
. = ALIGN(_PAGE_SIZE); __nosave_end = .;
- . = ALIGN(32);
+ . = ALIGN(1 << CONFIG_MIPS_L1_CACHE_SHIFT);
.data.cacheline_aligned : {
*(.data.cacheline_aligned)
}Ralf Baechle
AppliedQuoted 5 lines · David Daney
Align .data.cacheline_aligned based on the
MIPS_L1_CACHE_SHIFTconfiguration variable.Signed-off-by David Daney <[email protected]>Signed-off-by Tomaso Paoletti <[email protected]>
Thanks, applied already yesterday as you may have noticed,
Ralf
Quoted 10 lines · Ralf Baechle
Quoted 5 lines · David Daney
Align .data.cacheline_aligned based on the
MIPS_L1_CACHE_SHIFTconfiguration variable.Signed-off-by David Daney <[email protected]>Signed-off-by Tomaso Paoletti <[email protected]>Thanks, applied already yesterday as you may have noticed,
Actually I didn't. When I look at:
http://www.linux-mips.org/git?p=linux.git;a=summary
I don't see it. Am I looking in the wrong place?
David Daney
Quoted 5 lines · David Daney
Actually I didn't. When I look at:
http://www.linux-mips.org/git?p=linux.git;a=summary
I don't see it. Am I looking in the wrong place?
Commit edc05575a87f02e85417d2ccb1b1ad1df582658e. I just forgot to git push.
Ralf