[PATCH] security: Use macros from compiler.h instead of gcc specific attributes
From: Gideon Israel Dsouza
Date: Wed Jun 11 2014 - 11:58:02 EST
NOTE: Please ignore the earlier similar emails. I apologize sincerely
for the mistake.
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, /block and
/mm are already done and in the linux 3.15 tree.
In the following patch I've replaced all aforementioned instances under
the /security directory in the kernel source.
Gideon Israel Dsouza (1):
security: Used macros from compiler.h instead of __attribute__((...))
security/selinux/include/security.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/