public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* i386 and x86-64 bitops function prototypes differ
@ 2007-01-26 14:35 Stephane Eranian
  2007-01-26 17:49 ` H. Peter Anvin
  0 siblings, 1 reply; 6+ messages in thread
From: Stephane Eranian @ 2007-01-26 14:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: Stephane Eranian

Hello,

I ran into compiler warnings with the perfmon code when I tried
using test() and __set_bit() on i386. 

For some reason, the i386 bitops functions use unsigned long * for
the address whereas x86-64/ia64 use void *.

I do not quite understand why such difference?
Is this just for historical reasons?

Thanks.

-- 
-Stephane

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-02  7:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-26 14:35 i386 and x86-64 bitops function prototypes differ Stephane Eranian
2007-01-26 17:49 ` H. Peter Anvin
2007-02-01  9:15   ` Stephane Eranian
2007-02-01 22:55     ` Andrew Morton
2007-02-01 23:27       ` Stephane Eranian
2007-02-02  7:12       ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox