cleanup qemu/util code

This commit is contained in:
Nguyen Anh Quynh
2017-01-10 12:57:12 +08:00
parent fdbbdc6216
commit c1f39c3db2
21 changed files with 1 additions and 1664 deletions

View File

@ -119,16 +119,6 @@ static inline int test_bit(long nr, const unsigned long *addr)
return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1)));
}
/**
* find_last_bit - find the last set bit in a memory region
* @addr: The address to start the search at
* @size: The maximum size to search
*
* Returns the bit number of the first set bit, or size.
*/
unsigned long find_last_bit(const unsigned long *addr,
unsigned long size);
/**
* find_next_bit - find the next set bit in a memory region
* @addr: The address to base the search on