From: Mike Frysinger Date: Fri, 25 Mar 2011 20:24:36 +0000 (-0400) Subject: Blackfin: bitops: fix include order after little endian inclusion X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92a19d66a3cc17feae20b4c1147e8b4dbf7b2282;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Blackfin: bitops: fix include order after little endian inclusion The le.h header requires things like test_bit to be declared, so we need to move its inclusion to after the point where that happens. Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h index 49762c6bb0d..8a0fed16058 100644 --- a/arch/blackfin/include/asm/bitops.h +++ b/arch/blackfin/include/asm/bitops.h @@ -25,7 +25,6 @@ #include #include -#include #include #ifndef CONFIG_SMP @@ -113,6 +112,9 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr) #endif /* CONFIG_SMP */ +/* Needs to be after test_bit and friends */ +#include + /* * hweightN: returns the hamming weight (i.e. the number * of bits set) of a N-bit word