projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad642d9
)
ARM: 6192/1: VExpress: Align the machine_desc.phys_io to 1MB section
author
Catalin Marinas
<
[email protected]
>
Mon, 21 Jun 2010 14:12:09 +0000
(15:12 +0100)
committer
Russell King
<
[email protected]
>
Thu, 1 Jul 2010 09:13:41 +0000
(10:13 +0100)
When not aligned, random bits could be written in the initial page table
by the __create_page_tables() function.
Signed-off-by: Catalin Marinas <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
arch/arm/mach-vexpress/ct-ca9x4.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-vexpress/ct-ca9x4.c
b/arch/arm/mach-vexpress/ct-ca9x4.c
index 9b11eedba65fc4163cb33929addc2bf4e6784cbf..6353459bb5671bc2623377529b9a6dfcd5db4a8f 100644
(file)
--- a/
arch/arm/mach-vexpress/ct-ca9x4.c
+++ b/
arch/arm/mach-vexpress/ct-ca9x4.c
@@
-10,6
+10,7
@@
#include <linux/amba/clcd.h>
#include <asm/clkdev.h>
+#include <asm/pgtable.h>
#include <asm/hardware/arm_timer.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/hardware/gic.h>
@@
-236,7
+237,7
@@
static void ct_ca9x4_init(void)
}
MACHINE_START(VEXPRESS, "ARM-Versatile Express CA9x4")
- .phys_io = V2M_UART0,
+ .phys_io = V2M_UART0
& SECTION_MASK
,
.io_pg_offst = (__MMIO_P2V(V2M_UART0) >> 18) & 0xfffc,
.boot_params = PHYS_OFFSET + 0x00000100,
.map_io = ct_ca9x4_map_io,