Differences in bitops argument types

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Thursday, November 1, 2007 - 6:23 pm

Hello,

  I've just found out that operations like constant_test_bit() take pointer
of different types on different architectures. In particular, x86_64,
blackfin and frv take void * while i386, s390 and m68k take unsigned long
*. Is this intended difference? Wouldn't using void * everywhere be more
appropriate? Thanks for answer in advance.

								Honza
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Differences in bitops argument types, Jan Kara, (Thu Nov 1, 6:23 pm)
Re: Differences in bitops argument types, Paul Mackerras, (Fri Nov 2, 12:59 am)