mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
0e46c1115f
Memblock is the standard kernel boot-time memory tracker/allocator. Use it instead of the custom sysmem allocator. This allows using kmemleak, CMA and device tree memory reservation. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
20 lines
426 B
C
20 lines
426 B
C
/*
|
|
* sysmem-related prototypes.
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 2014 Cadence Design Systems Inc.
|
|
*/
|
|
|
|
#ifndef _XTENSA_SYSMEM_H
|
|
#define _XTENSA_SYSMEM_H
|
|
|
|
#include <linux/memblock.h>
|
|
|
|
void bootmem_init(void);
|
|
void zones_init(void);
|
|
|
|
#endif /* _XTENSA_SYSMEM_H */
|