Commit 92a19d66 authored by Mike Frysinger's avatar Mike Frysinger

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: default avatarMike Frysinger <vapier@gentoo.org>
parent 901c23fb
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <asm-generic/bitops/const_hweight.h> #include <asm-generic/bitops/const_hweight.h>
#include <asm-generic/bitops/lock.h> #include <asm-generic/bitops/lock.h>
#include <asm-generic/bitops/le.h>
#include <asm-generic/bitops/ext2-atomic.h> #include <asm-generic/bitops/ext2-atomic.h>
#ifndef CONFIG_SMP #ifndef CONFIG_SMP
...@@ -113,6 +112,9 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr) ...@@ -113,6 +112,9 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr)
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
/* Needs to be after test_bit and friends */
#include <asm-generic/bitops/le.h>
/* /*
* hweightN: returns the hamming weight (i.e. the number * hweightN: returns the hamming weight (i.e. the number
* of bits set) of a N-bit word * of bits set) of a N-bit word
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment