[OLPC-devel] Announce: Compressed cache 'pre-alpha-001' release :)
Zach Brown
zab at zabbo.net
Thu Jul 27 12:40:44 EDT 2006
> Again __set_bit()/__clear_bit() take unsigned long while chunk->size is
> unsigned short. Can it cause problem if I cast this chunk->size to
> unsigned long and pass to them?
_Yes_. That's what I said in the first mail and why I brought it up to
begin with! Maybe architectures (like i386!) implement it with assembly
that will write to the entire long when setting a given bit.
- z
More information about the Devel
mailing list