[PATCH] powerpc/cell: fix the prototype of create_vma_map
Arnd Bergmann
arnd at arndb.de
Thu Jan 8 06:01:51 EST 2009
On Wednesday 07 January 2009, Stephen Rothwell wrote:
> Also the value originally comes from a notifier callback
> (spu_active_notify) which is passed this value as an "unsigned long".
The data that gets passed down here is originally the u64 object_id
from struct spu_context, but it gets passed as an unsigned long
through the notifier chain. I think either way is fine, as it's
not possible to use spu notifiers on a 32 bit kernel and I wouldn't
want to change it more fundamentally.
If you like, you can change the whole call chain from spu_active_notify
to pass a u64, but it woulnd't make the code more correct.
Original patch
Acked-by: Arnd Bergmann <arnd at arndb.de>
More information about the Linuxppc-dev
mailing list