Include the right header in mmu.c to make sure that the implementations match the prototypes, and avoid old-style declaration in float.h. Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx> --- lib/s390x/asm/float.h | 2 +- lib/s390x/mmu.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/s390x/asm/float.h b/lib/s390x/asm/float.h index e994e15..f61fa62 100644 --- a/lib/s390x/asm/float.h +++ b/lib/s390x/asm/float.h @@ -24,7 +24,7 @@ static inline uint32_t get_fpc(void) return fpc; } -static inline uint8_t get_fpc_dxc() +static inline uint8_t get_fpc_dxc(void) { return get_fpc() >> 8; } diff --git a/lib/s390x/mmu.c b/lib/s390x/mmu.c index 70753c3..912236c 100644 --- a/lib/s390x/mmu.c +++ b/lib/s390x/mmu.c @@ -15,6 +15,7 @@ #include <asm/arch_def.h> #include <asm/barrier.h> #include <vmalloc.h> +#include "mmu.h" static pgd_t *table_root; -- 1.8.3.1