Skip to content

Commit

Permalink
[POWERPC] 4xx: logical/bitand typo in powerpc/boot/4xx.c
Browse files Browse the repository at this point in the history
logical/bitand typo

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
  • Loading branch information
Roel Kluin authored and Josh Boyer committed Jan 25, 2008
1 parent 1c0d3eb commit e080296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/boot/4xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e080296

Please sign in to comment.