Browse Source

x86: convert pageattr.c from round_up to roundup

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Joerg Roedel 17 năm trước cách đây
mục cha
commit
15ae2d76ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/x86/mm/pageattr.c

+ 1 - 1
arch/x86/mm/pageattr.c

@@ -78,7 +78,7 @@ static inline unsigned long highmap_start_pfn(void)
 
 static inline unsigned long highmap_end_pfn(void)
 {
-	return __pa(round_up((unsigned long)_end, PMD_SIZE)) >> PAGE_SHIFT;
+	return __pa(roundup((unsigned long)_end, PMD_SIZE)) >> PAGE_SHIFT;
 }
 
 #endif