]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/rheap.h
[PATCH] add process_session() helper routine
[linux-2.6] / include / asm-ppc / rheap.h
index e6ca1f67cedc0e526ad36d9dba1c784d88db7ad2..39a10d86224431e20dc9a9e584caa924b05b76cd 100644 (file)
@@ -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);