mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Metcalf <cmetcalf@tilera.com>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next] tile: remove homegrown L1_CACHE_ALIGN macro
Date: Tue, 29 Jun 2010 09:10:41 -0400	[thread overview]
Message-ID: <4C29F0D1.7030704@tilera.com> (raw)
In-Reply-To: <20100629163018L.fujita.tomonori@lab.ntt.co.jp>

This looks fine, thanks.

Acked-by: Chris Metcalf <cmetcalf@tilera.com>

On 6/29/2010 3:32 AM, FUJITA Tomonori wrote:
> Let's use the standard L1_CACHE_ALIGN macro instead.
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> ---
>  arch/tile/include/asm/cache.h |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/arch/tile/include/asm/cache.h b/arch/tile/include/asm/cache.h
> index c2b7dcf..ee59714 100644
> --- a/arch/tile/include/asm/cache.h
> +++ b/arch/tile/include/asm/cache.h
> @@ -20,7 +20,6 @@
>  /* bytes per L1 data cache line */
>  #define L1_CACHE_SHIFT		CHIP_L1D_LOG_LINE_SIZE()
>  #define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
> -#define L1_CACHE_ALIGN(x)	(((x)+(L1_CACHE_BYTES-1)) & -L1_CACHE_BYTES)
>  
>  /* bytes per L1 instruction cache line */
>  #define L1I_CACHE_SHIFT		CHIP_L1I_LOG_LINE_SIZE()
>   

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com


      reply	other threads:[~2010-06-29 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29  7:32 FUJITA Tomonori
2010-06-29 13:10 ` Chris Metcalf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C29F0D1.7030704@tilera.com \
    --to=cmetcalf@tilera.com \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome