[PATCH] powerpc: change rheap functions to use long integers instead of pointers
timur at freescale.com
Thu Apr 5 04:05:38 EST 2007
Sylvain Munaut wrote:
> Since the case where you manage offset is more common, it make senses to
> change the types to unsigned long. However the other usage model (manage
> addresses) should still be possible (using type casts only).
You'll have to explain to me how this works. None of the current users of rheap operate
in this way. They all take the return value and cast them to unsigned ints/longs and then
use them as an offset into the buffer.
Linux Kernel Developer @ Freescale
More information about the Linuxppc-dev