diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memblock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/memblock.c b/mm/memblock.c index 2121ec4c7fa0..d5681008dce1 100644 --- a/mm/memblock.c +++ b/mm/memblock.c | |||
@@ -911,18 +911,18 @@ void __init_memblock __next_mem_pfn_range(int *idx, int nid, | |||
911 | * memblock_set_node - set node ID on memblock regions | 911 | * memblock_set_node - set node ID on memblock regions |
912 | * @base: base of area to set node ID for | 912 | * @base: base of area to set node ID for |
913 | * @size: size of area to set node ID for | 913 | * @size: size of area to set node ID for |
914 | * @type: memblock type to set node ID for | ||
914 | * @nid: node ID to set | 915 | * @nid: node ID to set |
915 | * | 916 | * |
916 | * Set the nid of memblock memory regions in [@base,@base+@size) to @nid. | 917 | * Set the nid of memblock @type regions in [@base,@base+@size) to @nid. |
917 | * Regions which cross the area boundaries are split as necessary. | 918 | * Regions which cross the area boundaries are split as necessary. |
918 | * | 919 | * |
919 | * RETURNS: | 920 | * RETURNS: |
920 | * 0 on success, -errno on failure. | 921 | * 0 on success, -errno on failure. |
921 | */ | 922 | */ |
922 | int __init_memblock memblock_set_node(phys_addr_t base, phys_addr_t size, | 923 | int __init_memblock memblock_set_node(phys_addr_t base, phys_addr_t size, |
923 | int nid) | 924 | struct memblock_type *type, int nid) |
924 | { | 925 | { |
925 | struct memblock_type *type = &memblock.memory; | ||
926 | int start_rgn, end_rgn; | 926 | int start_rgn, end_rgn; |
927 | int i, ret; | 927 | int i, ret; |
928 | 928 | ||