]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/kernel/physmem.c
[PATCH] unify PFN_* macros
[linux-2.6-omap-h63xx.git] / arch / um / kernel / physmem.c
index 0e65340eee33704f141621b46cc2641de0e4f949..0500800df1c130f4c239282f8c624a26ac63d355 100644 (file)
@@ -9,6 +9,7 @@
 #include "linux/vmalloc.h"
 #include "linux/bootmem.h"
 #include "linux/module.h"
+#include "linux/pfn.h"
 #include "asm/types.h"
 #include "asm/pgtable.h"
 #include "kern_util.h"
@@ -316,8 +317,6 @@ void map_memory(unsigned long virt, unsigned long phys, unsigned long len,
        }
 }
 
-#define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
-
 extern int __syscall_stub_start, __binary_start;
 
 void setup_physmem(unsigned long start, unsigned long reserve_end,