diff options
author | Phil Sutter <n0-1@freewrt.org> | 2008-11-11 23:09:30 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-01-30 21:32:59 (GMT) |
commit | 5379a5fdf3cb2b23d00da2a1298167f9a1fb002a (patch) | |
tree | 047cf637a0da94c6d080554c6a25c05463bed4ee /arch/mips/pci | |
parent | f839490ab42a471f0b0a4b795df77a1af924fe05 (diff) | |
download | linux-fsl-qoriq-5379a5fdf3cb2b23d00da2a1298167f9a1fb002a.tar.xz |
MIPS: RB532: Fix bit swapping in rb532_set_bit()
The algorithm works unconditionally. If bitval is one, the first line is
a no op and the second line sets the bit at offset position. Vice versa,
if bitval is zero, the first line clears the bit at offset position and
the second line is a no op.
Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci')
0 files changed, 0 insertions, 0 deletions