mm-memblock-reorder-parameters-of-memblock_find_in_range_node.patch removed from -mm tree
[email protected]
maintainerSubject: [merged] mm-memblock-reorder-parameters-of-memblock_find_in_range_node.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 22 Jan 2014 12:13:54 -0800
The patch titled
Subject: mm/memblock: reorder parameters of memblock_find_in_range_node
has been removed from the -mm tree. Its filename was
mm-memblock-reorder-parameters-of-memblock_find_in_range_node.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Grygorii Strashko <[email protected]>
Subject: mm/memblock: reorder parameters of memblock_find_in_range_node
Reorder parameters of memblock_find_in_range_node to be consistent with other memblock APIs.
The change was suggested by Tejun Heo <[email protected]>.
---
include/linux/memblock.h | 5 +++-- mm/memblock.c | 16 ++++++++-------- mm/nobootmem.c | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-)
include/linux/memblock.h renamed from include/linux/memblock.h~mm-memblock-reorder-parameters-of-memblock_find_in_range_node +3 -2
@@ -55,8 +55,9 @@ extern bool movable_node_enabled;#define memblock_dbg (fmt, ...) \ if (memblock_debug) printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) -phys_addr_t memblock_find_in_range_node (phys_addr_t start,phys_addr_t end, -phys_addr_t size,phys_addr_t align,int nid); +phys_addr_t memblock_find_in_range_node (phys_addr_t size,phys_addr_t align, +phys_addr_t start,phys_addr_t end, +int nid);phys_addr_t memblock_find_in_range (phys_addr_t start,phys_addr_t end,phys_addr_t size,phys_addr_t align);phys_addr_t get_allocated_memblock_reserved_regions_info (phys_addr_t *addr);
mm/memblock.c renamed from mm/memblock.c~mm-memblock-reorder-parameters-of-memblock_find_in_range_node +8 -8
@@ -157,10 +157,10 @@ __memblock_find_range_top_down(phys_addr/** * memblock_find_in_range_node - find free area in given range and node -* @start: start of candidate range -* @end: end of candidate range, can be %MEMBLOCK_ALLOC_{ANYWHERE|ACCESSIBLE} * @size: size of free area to find * @align: alignment of free area to find +* @start: start of candidate range +* @end: end of candidate range, can be %MEMBLOCK_ALLOC_{ANYWHERE|ACCESSIBLE} * @nid: nid of the free area to find, %MAX_NUMNODES for any node * * Find @size free area aligned to @align in the specified range and node.
@@ -176,9 +176,9 @@ __memblock_find_range_top_down(phys_addr* RETURNS: * Found address on success, 0 on failure. */ -phys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t start, -phys_addr_t end,phys_addr_t size, -phys_addr_t align,int nid) +phys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t size, +phys_addr_t align,phys_addr_t start, +phys_addr_t end,int nid) {int ret;phys_addr_t kernel_end;
@@ -241,8 +241,8 @@ phys_addr_t __init_memblock memblock_fin phys_addr_t end, phys_addr_t size, phys_addr_t align) { - return memblock_find_in_range_node(start, end, size, align, -MAX_NUMNODES ); + return memblock_find_in_range_node(size, align, start, end, +MAX_NUMNODES ); } static void __init_memblock memblock_remove_region(struct memblock_type *type, unsigned long r)
@@ -975,7 +975,7 @@ static phys_addr_t __init memblock_alloc/* align @size to avoid excessive fragmentation on reserved array */ size =round_up (size, align); - found =memblock_find_in_range_node (0 , max_addr, size, align, nid); + found =memblock_find_in_range_node (size, align,0 , max_addr, nid);if (found && !memblock_reserve (found, size))return found;
mm/nobootmem.c renamed from mm/nobootmem.c~mm-memblock-reorder-parameters-of-memblock_find_in_range_node +1 -1
@@ -41,7 +41,7 @@ static void * __init __alloc_memory_coreif (limit > memblock.current_limit) limit = memblock.current_limit; - addr =memblock_find_in_range_node (goal, limit, size, align, nid); + addr =memblock_find_in_range_node (size, align, goal, limit, nid);if (!addr)return NULL ;
_
Patches currently in -mm which might be from [email protected] are
origin.patch
mm-nobootmem-free_all_bootmem-again.patch
rtc-rtc-twl-use-devm_-functions.patch
rtc-rtc-vr41xx-use-devm_-functions.patch
linux-next.patch