git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
arm
/
mach-clps711x
/
mm.c
diff --git
a/arch/arm/mach-clps711x/mm.c
b/arch/arm/mach-clps711x/mm.c
index
120b7ca
..
a00f77e
100644
(file)
--- a/
arch/arm/mach-clps711x/mm.c
+++ b/
arch/arm/mach-clps711x/mm.c
@@
-24,6
+24,7
@@
#include <linux/init.h>
#include <linux/bootmem.h>
#include <linux/init.h>
#include <linux/bootmem.h>
+#include <asm/sizes.h>
#include <asm/hardware.h>
#include <asm/pgtable.h>
#include <asm/page.h>
#include <asm/hardware.h>
#include <asm/pgtable.h>
#include <asm/page.h>
@@
-34,7
+35,12
@@
* This maps the generic CLPS711x registers
*/
static struct map_desc clps711x_io_desc[] __initdata = {
* This maps the generic CLPS711x registers
*/
static struct map_desc clps711x_io_desc[] __initdata = {
- { CLPS7111_VIRT_BASE, CLPS7111_PHYS_BASE, 1048576, MT_DEVICE }
+ {
+ .virtual = CLPS7111_VIRT_BASE,
+ .pfn = __phys_to_pfn(CLPS7111_PHYS_BASE),
+ .length = SZ_1M,
+ .type = MT_DEVICE
+ }
};
void __init clps711x_map_io(void)
};
void __init clps711x_map_io(void)