]> asedeno.scripts.mit.edu Git - linux.git/commit
m68k: replace gcc specific macros with ones from compiler.h
authorGideon Israel Dsouza <gidisrael@gmail.com>
Fri, 24 Feb 2017 23:00:35 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:56 +0000 (17:46 -0800)
commit849de0cd2c873c878fc2605156f10a8ade9bde28
treea9aedf5ef9a4a7c03ae781f61805e2e3260dd953
parenta3f0825e7e37d99a02a8a1b1599687667ee50d04
m68k: replace gcc specific macros with ones from compiler.h

There is <linux/compiler.h> which provides macros for various gcc
specific constructs.  Eg: __weak for __attribute__((weak)).  I've
cleaned all instances of gcc specific attributes with the right macros
for all files under /arch/m68k

Link: http://lkml.kernel.org/r/1485540901-1988-3-git-send-email-gidisrael@gmail.com
Signed-off-by: Gideon Israel Dsouza <gidisrael@gmail.com>
Cc: Greg Ungerer <gerg@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68k/68000/bootlogo-vz.h
arch/m68k/68000/bootlogo.h
arch/m68k/include/asm/MC68328.h
arch/m68k/include/asm/MC68EZ328.h
arch/m68k/include/asm/MC68VZ328.h
arch/m68k/include/asm/natfeat.h
arch/m68k/lib/ashldi3.c
arch/m68k/lib/ashrdi3.c
arch/m68k/lib/lshrdi3.c
arch/m68k/lib/muldi3.c