Skip to content

Commit

Permalink
x86: convert discontig_32.c from round_up to roundup
Browse files Browse the repository at this point in the history
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Joerg Roedel authored and Ingo Molnar committed Jul 26, 2008
1 parent be3e89e commit 17f3ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/mm/discontig_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ void __init initmem_init(unsigned long start_pfn,

get_memcfg_numa();

kva_pages = round_up(calculate_numa_remap_pages(), PTRS_PER_PTE);
kva_pages = roundup(calculate_numa_remap_pages(), PTRS_PER_PTE);

kva_target_pfn = round_down(max_low_pfn - kva_pages, PTRS_PER_PTE);
do {
Expand Down

0 comments on commit 17f3ab7

Please sign in to comment.