Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'fixes-2021-12-22' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock

Pull memblock fix from Mike Rapoport:
"Fix memblock_phys_alloc() section mismatch error

There are section mismatch errors when compiler refuses to inline
one-line wrapper memblock_phys_alloc(). Make memblock_phys_alloc()
__always_inline to avoid these mismatch issues"

* tag 'fixes-2021-12-22' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
memblock: fix memblock_phys_alloc() section mismatch error

+2 -2
+2 -2
include/linux/memblock.h
··· 405 405 phys_addr_t end, int nid, bool exact_nid); 406 406 phys_addr_t memblock_phys_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid); 407 407 408 - static inline phys_addr_t memblock_phys_alloc(phys_addr_t size, 409 - phys_addr_t align) 408 + static __always_inline phys_addr_t memblock_phys_alloc(phys_addr_t size, 409 + phys_addr_t align) 410 410 { 411 411 return memblock_phys_alloc_range(size, align, 0, 412 412 MEMBLOCK_ALLOC_ACCESSIBLE);