From 81da7e89bc71e7f3350dedca4ec69ee842493f98 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 13 Sep 2016 22:02:37 +0100 Subject: [PATCH] 68000: prototype for the 32bit conversion --- Kernel/cpu-68000/cpu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/cpu-68000/cpu.h b/Kernel/cpu-68000/cpu.h index c8a9e83e..ff48232e 100644 --- a/Kernel/cpu-68000/cpu.h +++ b/Kernel/cpu-68000/cpu.h @@ -58,6 +58,8 @@ extern uint16_t swab(uint16_t); #define cpu_to_le16(x) le16_to_cpu(x) #define le16_to_cpu(x) (uint16_t)(__builtin_bswap16((uint16_t)(x))) #define cpu_to_le32(x) le32_to_cpu(x) +extern uint32_t le32_to_cpu(uint32_t); + /* This is broken on the Fedora m68k gcc 5.3.1 */ //#define le32_to_cpu(x) (uint32_t)(__builtin_bswap32((uint32_t)(x))) -- 2.34.1