Skip to contentSkip to conversation

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

DISCUSSION Andi Kleen 1 participant 1 message Jul 7, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 9 lines · Harald Dunkel

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