Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> --- arch/mips/include/asm/checksum.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/mips/include/asm/checksum.h b/arch/mips/include/asm/checksum.h index 1e49fd107da1..061b56163668 100644 --- a/arch/mips/include/asm/checksum.h +++ b/arch/mips/include/asm/checksum.h @@ -12,9 +12,7 @@ #ifndef _ASM_CHECKSUM_H #define _ASM_CHECKSUM_H -#ifdef CONFIG_GENERIC_CSUM -#include <asm-generic/checksum.h> -#else +#ifndef CONFIG_GENERIC_CSUM #include <linux/in6.h> @@ -237,7 +235,8 @@ static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, return csum_fold(sum); } -#include <asm-generic/checksum.h> #endif /* CONFIG_GENERIC_CSUM */ +#include <asm-generic/checksum.h> + #endif /* _ASM_CHECKSUM_H */ -- 2.39.2