summaryrefslogtreecommitdiff
path: root/arch/m68k/lib/muldi3.c
diff options
context:
space:
mode:
authorGideon Israel Dsouza <gidisrael@gmail.com>2017-02-25 02:00:35 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-25 04:46:56 +0300
commit849de0cd2c873c878fc2605156f10a8ade9bde28 (patch)
treea9aedf5ef9a4a7c03ae781f61805e2e3260dd953 /arch/m68k/lib/muldi3.c
parenta3f0825e7e37d99a02a8a1b1599687667ee50d04 (diff)
downloadlinux-849de0cd2c873c878fc2605156f10a8ade9bde28.tar.xz
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>
Diffstat (limited to 'arch/m68k/lib/muldi3.c')
-rw-r--r--arch/m68k/lib/muldi3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/m68k/lib/muldi3.c b/arch/m68k/lib/muldi3.c
index 6459af5b2af0..3fb05c698c41 100644
--- a/arch/m68k/lib/muldi3.c
+++ b/arch/m68k/lib/muldi3.c
@@ -65,10 +65,10 @@ GNU General Public License for more details. */
umul_ppmm (__w.s.high, __w.s.low, u, v); \
__w.ll; })
-typedef int SItype __attribute__ ((mode (SI)));
-typedef unsigned int USItype __attribute__ ((mode (SI)));
-typedef int DItype __attribute__ ((mode (DI)));
-typedef int word_type __attribute__ ((mode (__word__)));
+typedef int SItype __mode(SI);
+typedef unsigned int USItype __mode(SI);
+typedef int DItype __mode(DI);
+typedef int word_type __mode(__word__);
struct DIstruct {SItype high, low;};