]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - include/asm-ppc/rheap.h
[POWERPC] Fix rheap alignment problem
[linux-3.10.git] / include / asm-ppc / rheap.h
index e6ca1f67cedc0e526ad36d9dba1c784d88db7ad2..65b93225a7786016845e2a4db544571c743445af 100644 (file)
@@ -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);