Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1551566
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/3] linux/const.h: move UL() macro to include/linux/const.h |
| Date | 2017-01-05 03:30 +0100 |
| Message-ID | <sW5Yu-4QA-9@gated-at.bofh.it> (permalink) |
| References | <sVPK1-2AQ-11@gated-at.bofh.it> <sVPK2-2AQ-23@gated-at.bofh.it> <sVQ3o-2IT-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Geert, 2017-01-04 18:27 GMT+09:00 Geert Uytterhoeven <geert@linux-m68k.org>: > Hi Yamada-san, > > On Wed, Jan 4, 2017 at 9:55 AM, Masahiro Yamada > <yamada.masahiro@socionext.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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] linux/const.h: cleanups of macros such as UL(), _BITUL(), BIT() etc. Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-01-04 10:10 +0100
[PATCH 2/3] linux/const.h: refactor _BITUL and _BITULL a bit Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-01-04 10:10 +0100
[PATCH 1/3] linux/const.h: move UL() macro to include/linux/const.h Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-01-04 10:10 +0100
Re: [PATCH 1/3] linux/const.h: move UL() macro to include/linux/const.h Geert Uytterhoeven <geert@linux-m68k.org> - 2017-01-04 10:30 +0100
Re: [PATCH 1/3] linux/const.h: move UL() macro to include/linux/const.h Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-01-05 03:30 +0100
Re: [PATCH 1/3] linux/const.h: move UL() macro to include/linux/const.h "Xuetao Guan" <gxt@mprc.pku.edu.cn> - 2017-01-05 03:40 +0100
csiph-web