diff --git a/include/linux/memblock.h b/include/linux/memblock.h index 629bf7de021bb9f2dd5305fc87b75b9e39ec59fa..5b9b0239e34a05a80d66b6e0c19d21f6579f01ff 100644 --- a/include/linux/memblock.h +++ b/include/linux/memblock.h @@ -394,8 +394,8 @@ phys_addr_t memblock_alloc_range_nid(phys_addr_t size, phys_addr_t end, int nid, bool exact_nid); phys_addr_t memblock_phys_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid); -static inline phys_addr_t memblock_phys_alloc(phys_addr_t size, - phys_addr_t align) +static __always_inline phys_addr_t memblock_phys_alloc(phys_addr_t size, + phys_addr_t align) { return memblock_phys_alloc_range(size, align, 0, MEMBLOCK_ALLOC_ACCESSIBLE);