The patch titled

     arm: fix IXP4xx flash resource range

has been added to the -mm tree.  Its filename is

     arm-fix-ixp4xx-flash-resource-range.patch

Patches currently in -mm which might be from [EMAIL PROTECTED] are

arm-fix-ixp4xx-clock_tick_rate.patch
arm-fix-ixp4xx-flash-resource-range.patch



From: Deepak Saxena <[EMAIL PROTECTED]>

We are currently reserving one byte more than actually needed by the flash
device and overlapping into the next I/O expansion bus window.  This a)
causes us to allocate an extra page of VM due to ARM ioremap() alignment
code and b) could cause problems if another driver tries to request the
next expansion bus window.

Signed-off-by: Deepak Saxena <[EMAIL PROTECTED]>
Cc: Russell King <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/arm/mach-ixp4xx/coyote-setup.c   |    2 +-
 arch/arm/mach-ixp4xx/gtwx5715-setup.c |    2 +-
 arch/arm/mach-ixp4xx/ixdp425-setup.c  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff -puN 
arch/arm/mach-ixp4xx/coyote-setup.c~arm-fix-ixp4xx-flash-resource-range 
arch/arm/mach-ixp4xx/coyote-setup.c
--- 
devel/arch/arm/mach-ixp4xx/coyote-setup.c~arm-fix-ixp4xx-flash-resource-range   
    2005-08-26 12:52:12.000000000 -0700
+++ devel-akpm/arch/arm/mach-ixp4xx/coyote-setup.c      2005-08-26 
12:52:12.000000000 -0700
@@ -36,7 +36,7 @@ static struct flash_platform_data coyote
 
 static struct resource coyote_flash_resource = {
        .start          = COYOTE_FLASH_BASE,
-       .end            = COYOTE_FLASH_BASE + COYOTE_FLASH_SIZE,
+       .end            = COYOTE_FLASH_BASE + COYOTE_FLASH_SIZE - 1,
        .flags          = IORESOURCE_MEM,
 };
 
diff -puN 
arch/arm/mach-ixp4xx/gtwx5715-setup.c~arm-fix-ixp4xx-flash-resource-range 
arch/arm/mach-ixp4xx/gtwx5715-setup.c
--- 
devel/arch/arm/mach-ixp4xx/gtwx5715-setup.c~arm-fix-ixp4xx-flash-resource-range 
    2005-08-26 12:52:12.000000000 -0700
+++ devel-akpm/arch/arm/mach-ixp4xx/gtwx5715-setup.c    2005-08-26 
12:52:12.000000000 -0700
@@ -114,7 +114,7 @@ static struct flash_platform_data gtwx57
 
 static struct resource gtwx5715_flash_resource = {
        .start          = GTWX5715_FLASH_BASE,
-       .end            = GTWX5715_FLASH_BASE + GTWX5715_FLASH_SIZE,
+       .end            = GTWX5715_FLASH_BASE + GTWX5715_FLASH_SIZE - 1,
        .flags          = IORESOURCE_MEM,
 };
 
diff -puN 
arch/arm/mach-ixp4xx/ixdp425-setup.c~arm-fix-ixp4xx-flash-resource-range 
arch/arm/mach-ixp4xx/ixdp425-setup.c
--- 
devel/arch/arm/mach-ixp4xx/ixdp425-setup.c~arm-fix-ixp4xx-flash-resource-range  
    2005-08-26 12:52:12.000000000 -0700
+++ devel-akpm/arch/arm/mach-ixp4xx/ixdp425-setup.c     2005-08-26 
12:52:12.000000000 -0700
@@ -36,7 +36,7 @@ static struct flash_platform_data ixdp42
 
 static struct resource ixdp425_flash_resource = {
        .start          = IXDP425_FLASH_BASE,
-       .end            = IXDP425_FLASH_BASE + IXDP425_FLASH_SIZE,
+       .end            = IXDP425_FLASH_BASE + IXDP425_FLASH_SIZE - 1,
        .flags          = IORESOURCE_MEM,
 };
 
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to