1 2 3 4 5 6 7 8 9 10 11
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _XBC_LINUX_MEMBLOCK_H #define _XBC_LINUX_MEMBLOCK_H #include <stdlib.h> #define SMP_CACHE_BYTES 0 #define memblock_alloc(size, align) malloc(size) #define memblock_free_ptr(paddr, size) free(paddr) #endif