History

memblock: drop __memblock_alloc_base()

The __memblock_alloc_base() function tries to allocate a memory up to the limit specified by its max_addr parameter. Depending on the value of this parameter, the __memblock_alloc_base() can is replaced with the appropriate memblock_phys_alloc*() variant.

Mike Rapoport committed 7 years ago

Commit 42b46ae1 parent ecc3e776 files · +11 −24Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/memblock.h+0−2
@@ -452,8 +452,6 @@ static inline bool memblock_bottom_up(void) · 451 unmodified lines
452452
453453 phys_addr_t memblock_alloc_base(phys_addr_t size, phys_addr_t align,
454454 phys_addr_t max_addr);
455−phys_addr_t __memblock_alloc_base(phys_addr_t size, phys_addr_t align,
456− phys_addr_t max_addr);
457455 phys_addr_t memblock_phys_mem_size(void);
458456 phys_addr_t memblock_reserved_size(void);
459457 phys_addr_t memblock_mem_size(unsigned long limit_pfn);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t