[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080203140419.GB11983@cvg>
Date: Sun, 3 Feb 2008 17:04:19 +0300
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Haavard Skinnemoen <hskinnemoen@...el.com>
Cc: linux-kernel@...r.kernel.org, davem@...emloft.net,
bryan.wu@...log.com, dhowells@...hat.com
Subject: Re: [patch 1/4] AVR32: cleanup - use _AC macro to define PAGE_SIZE
[Haavard Skinnemoen - Sun, Feb 03, 2008 at 02:25:06PM +0100]
| [removed bogus @atmel.co address from Cc]
|
| On Sun, 03 Feb 2008 14:22:18 +0300
| Cyrill Gorcunov <gorcunov@...il.com> wrote:
|
| > Signed-off-by: Cyrill Gorcunov <gorcunov@...il.com>
|
| Applied, thanks.
|
| I found myself having to grep through include/linux to figure out what
| this _AC macro was really all about, so I added this to the description:
|
| PAGE_SIZE is used both from assembly and C code. We want to have type
| specifiers when using it from C, but this will make the assembler
| confused, so we need to make it conditional.
|
| This is exactly what the _AC macro is for, so using it allows us to
| get rid of a few lines of cpp noise.
|
| My first thought was "Autoconf", and it sent shivers down my spine ;-)
|
| Haavard
|
Thanks, Haavard. (btw, really good joke about Autoconf ;-)
- Cyrill -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists