Why do the rh_alloc functions return a pointer?

Timur Tabi timur at freescale.com
Fri Feb 16 07:34:23 EST 2007

Sylvain Munaut wrote:

> I talked about it with Panto on IRC a few days ago.
> And he agrees that the function could be changed to user "unsigned long"
> instead of "void *".

Well, if there is a consensus that this should be changed, then I'll make the patch.

However, since the function prototype for all architectures is in 
include/asm-ppc/rheap.h, I'll need to change powerpc and ppc in the same patch, 
otherwise one of the two will break.

Timur Tabi
Linux Kernel Developer @ Freescale

More information about the Linuxppc-dev mailing list