projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be3e89e
)
x86: convert discontig_32.c from round_up to roundup
author
Joerg Roedel
<joerg.roedel@amd.com>
Fri, 25 Jul 2008 14:48:59 +0000
(16:48 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Sat, 26 Jul 2008 13:39:22 +0000
(15:39 +0200)
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/discontig_32.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/discontig_32.c
b/arch/x86/mm/discontig_32.c
index 62fa440678d88268ba9456150eb023c3b7f735d7..847c164725f4661c74ff52d526b46367f2ffb17e 100644
(file)
--- a/
arch/x86/mm/discontig_32.c
+++ b/
arch/x86/mm/discontig_32.c
@@
-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 {