]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
AVR32: Fix thinko in generic_find_next_zero_le_bit()
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 31 Oct 2006 19:01:11 +0000 (20:01 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 6 Nov 2006 09:43:24 +0000 (10:43 +0100)
commit168c8fa32ff40d6caf7226a5abf2a0096f3393bf
treeb58f6a66a4325e83482cbc43d88fae7c9ee1054a
parente9a43850e6a99e335c8120579749389b376bc204
AVR32: Fix thinko in generic_find_next_zero_le_bit()

The existing implementation of this function seems to be looking for
a one although it should be looking for a zero. This causes trouble
for the ext2 filesystem, which tends to report -ENOSPC without this
patch.

Fix this by complementing each word before scanning.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/lib/findbit.S