projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
316a405
)
powerpc: Fix copy-and-paste error in clrsetbits_le16
author
Scott Wood
<scottwood@freescale.com>
Tue, 17 Jun 2008 16:59:59 +0000
(
02:59
+1000)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 30 Jun 2008 12:31:07 +0000
(22:31 +1000)
This was pointed out by Detlev Zundel when this code was being
added to U-boot.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/io.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-powerpc/io.h
b/include/asm-powerpc/io.h
index 6db422d8e2a0944c64aafdbe5cc20aac6e093ec0..8b627823f5f91c59af24cc6088deebe361d96f28 100644
(file)
--- a/
include/asm-powerpc/io.h
+++ b/
include/asm-powerpc/io.h
@@
-772,7
+772,7
@@
static inline void * bus_to_virt(unsigned long address)
#define clrsetbits_le32(addr, clear, set) clrsetbits(le32, addr, clear, set)
#define clrsetbits_be16(addr, clear, set) clrsetbits(be16, addr, clear, set)
-#define clrsetbits_le16(addr, clear, set) clrsetbits(le
32
, addr, clear, set)
+#define clrsetbits_le16(addr, clear, set) clrsetbits(le
16
, addr, clear, set)
#define clrsetbits_8(addr, clear, set) clrsetbits(8, addr, clear, set)