]> git.itanic.dy.fi Git - linux-stable/commit
m68k: lib: Include <linux/libgcc.h> for __muldi3()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 11 Oct 2023 07:16:33 +0000 (09:16 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 16 Oct 2023 12:30:40 +0000 (14:30 +0200)
commit03191fb3db3d2585725bcffe0356d12fcfd27c4c
tree35134fa3308c361dd50295cd9570be69829160b1
parent9faf1f1a55ee9363e3b7c5d9bba546c8d2c7fccc
m68k: lib: Include <linux/libgcc.h> for __muldi3()

When building with W=1:

    arch/m68k/lib/muldi3.c:82:1: warning: no previous prototype for ‘__muldi3’ [-Wmissing-prototypes]
       82 | __muldi3 (DItype u, DItype v)
  | ^~~~~~~~

Fix this by including <linux/libgcc.h>.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/160c1fd14b4798f576d9649334b1d2c77db5cb07.1697008341.git.geert@linux-m68k.org
arch/m68k/lib/muldi3.c