m68k: Define __div64_32() to avoid a warning
authorArnd Bergmann <arnd@arndb.de>
Wed, 9 Aug 2023 21:10:49 +0000 (23:10 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 21 Aug 2023 11:27:43 +0000 (13:27 +0200)
commit668a920208fffaf5308aabd304f7568d6815169b
tree64fd1ff3302693e815541d79863bc1c2c9457c59
parent6831a8a3bd76adb7f7c91006a8ce8b3b67a666cc
m68k: Define __div64_32() to avoid a warning

The generic __div64_32() definition is built on all architectures that
don't provide this as a macro.  m68k however neither defines nor
requires __div64_32, so it should define an empty one to avoid the
warning:

    lib/math/div64.c:31:32: error: no previous prototype for '__div64_32' [-Werror=missing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20230809211057.60514-1-arnd@kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/div64.h