mirror of https://gitee.com/openkylin/linux.git
x86: convert pci-dma.c from round_up to roundup
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
bda307ed7b
commit
1ddb551805
|
@ -82,7 +82,7 @@ void __init dma32_reserve_bootmem(void)
|
|||
* using 512M as goal
|
||||
*/
|
||||
align = 64ULL<<20;
|
||||
size = round_up(dma32_bootmem_size, align);
|
||||
size = roundup(dma32_bootmem_size, align);
|
||||
dma32_bootmem_ptr = __alloc_bootmem_nopanic(size, align,
|
||||
512ULL<<20);
|
||||
if (dma32_bootmem_ptr)
|
||||
|
|
Loading…
Reference in New Issue