[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNATgkJJ4rnK7N8NQ2WR22eoCR3Hz5pCoE4VvOiRXrC0yPQ@mail.gmail.com>
Date: Thu, 5 Jan 2017 11:22:55 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Mark Rutland <mark.rutland@....com>,
Nicolas Pitre <nicolas.pitre@...aro.org>,
Catalin Marinas <catalin.marinas@....com>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
Will Deacon <will.deacon@....com>,
David Howells <dhowells@...hat.com>,
Chris Brandt <chris.brandt@...esas.com>,
"H . Peter Anvin" <hpa@...or.com>,
Guan Xuetao <gxt@...c.pku.edu.cn>,
"the arch/x86 maintainers" <x86@...nel.org>,
Russell King <linux@...linux.org.uk>,
Ingo Molnar <mingo@...hat.com>,
Laura Abbott <labbott@...hat.com>,
Neeraj Upadhyay <neeraju@...eaurora.org>,
Arnd Bergmann <arnd@...db.de>,
linux-m68k <linux-m68k@...ts.linux-m68k.org>,
Santosh Shilimkar <ssantosh@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
James Morse <james.morse@....com>,
Olof Johansson <olof@...om.net>
Subject: Re: [PATCH 1/3] linux/const.h: move UL() macro to include/linux/const.h
Hi Geert,
2017-01-04 18:27 GMT+09:00 Geert Uytterhoeven <geert@...ux-m68k.org>:
> Hi Yamada-san,
>
> On Wed, Jan 4, 2017 at 9:55 AM, Masahiro Yamada
> <yamada.masahiro@...ionext.com> wrote:
>> Some architectures are duplicating the definition of UL():
>>
>> #define UL(x) _AC(x, UL)
>>
>> This is not actually arch-specific, so it will be useful to move it
>> to a common header. Currently, we only have the uapi variant for
>> linux/const.h, so I am creating include/linux/const.h.
>>
>> I am also adding _UL(x), _ULL(x), ULL(x) because _AC() is used for
>> UL in most places (and ULL in some places). I expect _AC(..., UL)
>> will be replaced with _UL(...) or UL(...). The underscore-prefixed
>> one should be used for exported headers.
>>
>> Note:
>> I renamed UL(x) in arch/m68k/mm/init.c, where it is used for a
>> different meaning.
>
> Shouldn't that be a separate (prerequisite) patch?
Yes, I did so in v2.
Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists