mm: use macros from compiler.h instead of __attribute__((...))
authorGideon Israel Dsouza <gidisrael@gmail.com>
Mon, 7 Apr 2014 22:37:26 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:35:54 +0000 (16:35 -0700)
commit3b32123d734cb414e366b35a3b2142a995f9d1a0
treefd9790206b59cd053bf72132da9a70ce3d8a21e5
parent615d6e8756c87149f2d4c1b93d471bca002bd849
mm: use macros from compiler.h instead of __attribute__((...))

To increase compiler portability there is <linux/compiler.h> which
provides convenience macros for various gcc constructs.  Eg: __weak for
__attribute__((weak)).  I've replaced all instances of gcc attributes with
the right macro in the memory management (/mm) subsystem.

[akpm@linux-foundation.org: while-we're-there consistency tweaks]
Signed-off-by: Gideon Israel Dsouza <gidisrael@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c
mm/nommu.c
mm/sparse.c
mm/util.c
mm/vmalloc.c