diff options
-rw-r--r-- | lib/bootconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bootconfig.c b/lib/bootconfig.c index a056ae137750..3276675b25e1 100644 --- a/lib/bootconfig.c +++ b/lib/bootconfig.c @@ -43,12 +43,12 @@ static int open_brace[XBC_DEPTH_MAX] __initdata; static int brace_index __initdata; #ifdef __KERNEL__ -static inline void *xbc_alloc_mem(size_t size) +static inline void * __init xbc_alloc_mem(size_t size) { return memblock_alloc(size, SMP_CACHE_BYTES); } -static inline void xbc_free_mem(void *addr, size_t size) +static inline void __init xbc_free_mem(void *addr, size_t size) { memblock_free_ptr(addr, size); } |