projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] unify PFN_* macros
[cascardo/linux.git]
/
arch
/
um
/
kernel
/
physmem.c
diff --git
a/arch/um/kernel/physmem.c
b/arch/um/kernel/physmem.c
index
0e65340
..
0500800
100644
(file)
--- a/
arch/um/kernel/physmem.c
+++ b/
arch/um/kernel/physmem.c
@@
-9,6
+9,7
@@
#include "linux/vmalloc.h"
#include "linux/bootmem.h"
#include "linux/module.h"
#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"
#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,
extern int __syscall_stub_start, __binary_start;
void setup_physmem(unsigned long start, unsigned long reserve_end,