[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1393689748-32236-1-git-send-email-gidisrael@gmail.com>
Date: Sat, 1 Mar 2014 21:32:27 +0530
From: Gideon Israel Dsouza <gidisrael@...il.com>
To: akpm@...ux-foundation.org
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
geert@...ux-m68k.org, Gideon Israel Dsouza <gidisrael@...il.com>
Subject: [PATCH 0/1] Use macros from compiler.h instead of gcc specific attributes
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 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