projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0d3eb
)
[POWERPC] 4xx: logical/bitand typo in powerpc/boot/4xx.c
author
Roel Kluin
<12o3l@tiscali.nl>
Wed, 23 Jan 2008 22:37:33 +0000
(09:37 +1100)
committer
Josh Boyer
<jwboyer@linux.vnet.ibm.com>
Fri, 25 Jan 2008 13:13:39 +0000
(07:13 -0600)
logical/bitand typo
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/boot/4xx.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/boot/4xx.c
b/arch/powerpc/boot/4xx.c
index 61a4045324cb78e04c128d91d256925a64aa13d4..758edf1c58156e1b44e25fa6deb931d86aa274fc 100644
(file)
--- a/
arch/powerpc/boot/4xx.c
+++ b/
arch/powerpc/boot/4xx.c
@@
-159,7
+159,7
@@
void ibm4xx_denali_fixup_memsize(void)
val = DDR_GET_VAL(val, DDR_CS_MAP, DDR_CS_MAP_SHIFT);
cs = 0;
while (val) {
- if (val &
&
0x1)
+ if (val & 0x1)
cs++;
val = val >> 1;
}