malloc: enable memory hotplug support
[dpdk.git] / lib / librte_eal / common / malloc_heap.h
index c57b59a..03b8014 100644 (file)
@@ -26,8 +26,8 @@ malloc_get_numa_socket(void)
 }
 
 void *
-malloc_heap_alloc(struct malloc_heap *heap,    const char *type, size_t size,
-               unsigned int flags, size_t align, size_t bound, bool contig);
+malloc_heap_alloc(const char *type, size_t size, int socket, unsigned int flags,
+               size_t align, size_t bound, bool contig);
 
 int
 malloc_heap_free(struct malloc_elem *elem);