projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c199b5
)
Blackfin: SMP: fix asm/bitops.h errors
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 21 Sep 2009 11:51:31 +0000
(11:51 +0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 10 Jan 2011 12:18:12 +0000
(07:18 -0500)
The common asm-generic non-atomic bitops.h defines test_bit() for us, but
we need to use our own version. So redirect the definition of this func
to avoid having to inline the rest of the asm-generic file.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/bitops.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/include/asm/bitops.h
b/arch/blackfin/include/asm/bitops.h
index 3f7ef4d97791514c9d4eab13d17baffc78efb5f3..29f4fd8861748892cb1192860519f0e6355c8e97 100644
(file)
--- a/
arch/blackfin/include/asm/bitops.h
+++ b/
arch/blackfin/include/asm/bitops.h
@@
-108,7
+108,9
@@
static inline int test_and_change_bit(int nr, volatile unsigned long *addr)
#define smp_mb__before_clear_bit() barrier()
#define smp_mb__after_clear_bit() barrier()
+#define test_bit __skip_test_bit
#include <asm-generic/bitops/non-atomic.h>
+#undef test_bit
#endif /* CONFIG_SMP */