From 21cd9bc80a0e40762c6d45bed1dbb2105b81f104 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 19 Sep 2012 23:49:58 +0000 Subject: cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33485 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch') diff --git a/target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch b/target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch index e7fe0b1e1..f0017178c 100644 --- a/target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch +++ b/target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch @@ -1,6 +1,6 @@ --- a/arch/arm/mach-cns3xxx/core.c +++ b/arch/arm/mach-cns3xxx/core.c -@@ -80,6 +80,16 @@ static struct map_desc cns3xxx_io_desc[] +@@ -70,6 +70,16 @@ static struct map_desc cns3xxx_io_desc[] .pfn = __phys_to_pfn(CNS3XXX_SSP_BASE), .length = SZ_4K, .type = MT_DEVICE, @@ -17,7 +17,7 @@ }, }; -@@ -155,13 +165,13 @@ void __init cns3xxx_common_init(void) +@@ -145,13 +155,13 @@ void __init cns3xxx_common_init(void) /* used by entry-macro.S */ void __init cns3xxx_init_irq(void) { @@ -34,7 +34,7 @@ u32 clkctrl; printk(KERN_INFO "powering system down...\n"); -@@ -335,7 +345,7 @@ static void __init __cns3xxx_timer_init( +@@ -325,7 +335,7 @@ static void __init __cns3xxx_timer_init( static void __init cns3xxx_timer_init(void) { -- cgit v1.2.3