The patch titled Subject: compiler-gcc.h: add a new macro to wrap gcc attribute has been added to the -mm tree. Its filename is compiler-gcch-added-a-new-macro-to-wrap-gcc-attribute.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/compiler-gcch-added-a-new-macro-to-wrap-gcc-attribute.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/compiler-gcch-added-a-new-macro-to-wrap-gcc-attribute.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Gideon Israel Dsouza <gidisrael@xxxxxxxxx> Subject: compiler-gcc.h: add a new macro to wrap gcc attribute Add __mode(x) into compiler-gcc.h as part of a cleanup task I've taken up, to replace gcc specific attributes with macros. The next patch is a cleanup of the m68k subsystem and it requires a new macro to wrap __attribute__ ((mode (...))) Link: http://lkml.kernel.org/r/1485540901-1988-2-git-send-email-gidisrael@xxxxxxxxx Signed-off-by: Gideon Israel Dsouza <gidisrael@xxxxxxxxx> Cc: Greg Ungerer <gerg@xxxxxxxxxxxxxx> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/compiler-gcc.h | 1 + 1 file changed, 1 insertion(+) diff -puN include/linux/compiler-gcc.h~compiler-gcch-added-a-new-macro-to-wrap-gcc-attribute include/linux/compiler-gcc.h --- a/include/linux/compiler-gcc.h~compiler-gcch-added-a-new-macro-to-wrap-gcc-attribute +++ a/include/linux/compiler-gcc.h @@ -121,6 +121,7 @@ #define __attribute_const__ __attribute__((__const__)) #define __maybe_unused __attribute__((unused)) #define __always_unused __attribute__((unused)) +#define __mode(x) __attribute__((mode(x))) /* gcc version specific checks */ _ Patches currently in -mm which might be from gidisrael@xxxxxxxxx are compiler-gcch-added-a-new-macro-to-wrap-gcc-attribute.patch m68k-replaced-gcc-specific-macros-with-ones-from-compilerh.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html