/* This contains the io-permission bitmap code - written by obz, with changes by Linus. 32/64 bits code unification by Miguel Botón.  */
static void set_bitmap(unsigned long *bitmap, unsigned int base, unsigned int extent, int new_value)
/* This contains the io-permission bitmap code - written by obz, with changes by Linus. 32/64 bits code unification by Miguel Botón.  */
static void set_bitmap(unsigned long *bitmap, unsigned int base, unsigned int extent, int new_value)
{
	unsigned int i;
	for (i = base; i < base + extent; i++) {
		if (new_value)
			__set_bit(i, bitmap);
		else
			__clear_bit(i, bitmap);
	}
}