浏览代码

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 年之前
父节点
当前提交
15ae2d76ce
共有 1 个文件被更改,包括 1 次插入1 次删除
  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