Skip to content

Commit 03191fb

Browse files
committed
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
1 parent 9faf1f1 commit 03191fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/m68k/lib/muldi3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ GNU General Public License for more details. */
1616

1717
#include <linux/compiler.h>
1818
#include <linux/export.h>
19+
#include <linux/libgcc.h>
1920

2021
#ifdef CONFIG_CPU_HAS_NO_MULDIV64
2122

0 commit comments

Comments
 (0)