lkml.org 
[lkml]   [2003]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSat, 15 Mar 2003 20:31:03 -0500
FromPete Zaitcev <>
SubjectRe: bitmaps/bitops
> but the prototype for test_and_set_bit() depends on $(ARCH), and it's
> not consistent, with the second arg (bitmap address) being one of:
> volatile void *
> void *
> volatile unsigned long *

It should be unsigned long pointer. I have no idea why
volatile is still alive. Perhaps Linus can remember why he
left it in on is386. Other arch maintainers midnlessly ape him
in this area. I think I even kept his e-mail where he explains
why volatile has to go.

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

\
 
 \ /
  Last update: 2005-03-22 13:34    [from the cache]
©2003-2010