Re: asm-x86_64/bitops.h: problem with long vs int?

From: Andi Kleen
Date: Wed Jul 07 2004 - 04:33:24 EST


"Harald Dunkel" <harald.dunkel@xxxxxxxxxxx> writes:

> Hi folks,
>
> Maybe its just a cosmetic problem, but the definitions
> for set_bit() and clear_bit() in asm-x86_64/bitops.h
> look a little bit asymmetrical:
>
> static __inline__ void set_bit(long nr, volatile void * addr)
> static __inline__ void clear_bit(int nr, volatile void * addr)
>

It's cosmetic, but I changed set_bit to be int now too. Thanks.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/