mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
The lib/bootconfig.c file is shared with the 'bootconfig' tooling, and as a result, the changes incommit77e02cf57b
("memblock: introduce saner 'memblock_free_ptr()' interface") need to also be reflected in the tooling header file. So define the new memblock_free_ptr() wrapper, and remove unused __pa() and memblock_free(). Fixes:77e02cf57b
("memblock: introduce saner 'memblock_free_ptr()' interface") Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 lines
255 B
C
12 lines
255 B
C
/* 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
|