| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Mon, 13 Oct 2008 16:36:13 -0700 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.16 (X11/20080723) |
Align .data.cacheline_aligned based on the MIPS_L1_CACHE_SHIFT
configuration variable.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com>
---
arch/mips/kernel/vmlinux.lds.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index afb119f..58738c8 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -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)
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2/2] show_cpuinfo prints the name of the calling CPU, which i think is wrong., David Daney |
|---|---|
| Next by Date: | Re: [Fwd: [bug report] 0xffffffffc0000000 can't be used on bcm1250], Weiwei Wang |
| Previous by Thread: | Questions for CONFIG_WEAK_ORDERING and CONFIG_WEAK_REORDERING_BEYOND_LLSC, Johannes Dickgreber |
| Next by Thread: | Re: [PATCH] MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |