X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc%2Frheap.h;h=39a10d86224431e20dc9a9e584caa924b05b76cd;hb=refs%2Fremotes%2Fvserver;hp=e6ca1f67cedc0e526ad36d9dba1c784d88db7ad2;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/asm-ppc/rheap.h b/include/asm-ppc/rheap.h index e6ca1f67c..39a10d862 100644 --- a/include/asm-ppc/rheap.h +++ b/include/asm-ppc/rheap.h @@ -1,5 +1,5 @@ /* - * include/asm-ppc/rheap.c + * include/asm-ppc/rheap.h * * Header file for the implementation of a remote heap. * @@ -62,6 +62,10 @@ extern int rh_attach_region(rh_info_t * info, void *start, int size); /* Detach a free region */ extern void *rh_detach_region(rh_info_t * info, void *start, int size); +/* Allocate the given size from the remote heap (with alignment) */ +extern void *rh_alloc_align(rh_info_t * info, int size, int alignment, + const char *owner); + /* Allocate the given size from the remote heap */ extern void *rh_alloc(rh_info_t * info, int size, const char *owner);