Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT
@ 2008-10-13 23:36 David Daney
  2008-10-14  9:07 ` Ralf Baechle
  0 siblings, 1 reply; 4+ messages in thread
From: David Daney @ 2008-10-13 23:36 UTC (permalink / raw)
  To: linux-mips

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)
 	}

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT
  2008-10-13 23:36 [PATCH] MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT David Daney
@ 2008-10-14  9:07 ` Ralf Baechle
  2008-10-14 16:20   ` David Daney
  0 siblings, 1 reply; 4+ messages in thread
From: Ralf Baechle @ 2008-10-14  9:07 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips

On Mon, Oct 13, 2008 at 04:36:13PM -0700, David Daney wrote:

> 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>

Thanks, applied already yesterday as you may have noticed,

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT
  2008-10-14  9:07 ` Ralf Baechle
@ 2008-10-14 16:20   ` David Daney
  2008-10-14 16:31     ` Ralf Baechle
  0 siblings, 1 reply; 4+ messages in thread
From: David Daney @ 2008-10-14 16:20 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

Ralf Baechle wrote:
> On Mon, Oct 13, 2008 at 04:36:13PM -0700, David Daney wrote:
> 
>> 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>
> 
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT
  2008-10-14 16:20   ` David Daney
@ 2008-10-14 16:31     ` Ralf Baechle
  0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2008-10-14 16:31 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips

On Tue, Oct 14, 2008 at 09:20:37AM -0700, David Daney wrote:

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-14 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-13 23:36 [PATCH] MIPS: Align .data.cacheline_aligned based on MIPS_L1_CACHE_SHIFT David Daney
2008-10-14  9:07 ` Ralf Baechle
2008-10-14 16:20   ` David Daney
2008-10-14 16:31     ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox