From: Phil Sutter Date: Tue, 11 Nov 2008 23:09:30 +0000 (+0100) Subject: MIPS: RB532: Fix bit swapping in rb532_set_bit() X-Git-Tag: v2.6.29-rc4~84^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5379a5fdf3cb2b23d00da2a1298167f9a1fb002a;p=pandora-kernel.git 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 Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed