From: Gideon Israel Dsouza <gidisrael@gmail.com>
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
geert@linux-m68k.org, Gideon Israel Dsouza <gidisrael@gmail.com>
Subject: [PATCH 0/1] Use macros from compiler.h instead of gcc specific attributes
Date: Sat, 1 Mar 2014 21:32:27 +0530 [thread overview]
Message-ID: <1393689748-32236-1-git-send-email-gidisrael@gmail.com> (raw)
To increase compiler portability there is <linux/compiler.h> which
provides convenience macros for various gcc constructs. Eg: __weak for
__attribute__((weak)).
I've taken up the job of cleaning these attributes all over the kernel.
Currently my patches for cleanup of all files under /kernel and /block
are already done and in the linux-next tree.
In the following patch I've replaced all aforementioned instances under
the /mm directory in the kernel source.
Gideon Israel Dsouza (1):
mm: use macros from compiler.h instead of __attribute__((...))
mm/hugetlb.c | 3 ++-
mm/nommu.c | 3 ++-
mm/sparse.c | 6 ++++--
mm/util.c | 5 +++--
mm/vmalloc.c | 4 +++-
5 files changed, 14 insertions(+), 7 deletions(-)
--
1.8.5.3
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2014-03-01 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-01 16:02 Gideon Israel Dsouza [this message]
2014-03-01 16:02 ` [PATCH 1/1] mm: use macros from compiler.h instead of __attribute__((...)) Gideon Israel Dsouza
2014-03-01 17:38 ` Geert Uytterhoeven
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=1393689748-32236-1-git-send-email-gidisrael@gmail.com \
--to=gidisrael@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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;
as well as URLs for NNTP newsgroup(s).