linux/tools/bootconfig/include/linux/memblock.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef _XBC_LINUX_MEMBLOCK_H
   3#define _XBC_LINUX_MEMBLOCK_H
   4
   5#include <stdlib.h>
   6
   7#define __pa(addr)      (addr)
   8#define SMP_CACHE_BYTES 0
   9#define memblock_alloc(size, align)     malloc(size)
  10#define memblock_free(paddr, size)      free(paddr)
  11
  12#endif
  13