]> git.baikalelectronics.ru Git - kernel.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)
commitdfcaba3a5686c2cf314127ccbcb55704c78cbc42
treea9aedf5ef9a4a7c03ae781f61805e2e3260dd953
parent20fa2f11ce11b0ea8afa621da97720b0f49a216a
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