Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] arm: fix IXP4xx flash resource range

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 <dsaxena@plexity.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Deepak Saxena and committed by
Linus Torvalds
1c9cf6f9 485761bd

+3 -3
+1 -1
arch/arm/mach-ixp4xx/coyote-setup.c
··· 36 36 37 37 static struct resource coyote_flash_resource = { 38 38 .start = COYOTE_FLASH_BASE, 39 - .end = COYOTE_FLASH_BASE + COYOTE_FLASH_SIZE, 39 + .end = COYOTE_FLASH_BASE + COYOTE_FLASH_SIZE - 1, 40 40 .flags = IORESOURCE_MEM, 41 41 }; 42 42
+1 -1
arch/arm/mach-ixp4xx/gtwx5715-setup.c
··· 114 114 115 115 static struct resource gtwx5715_flash_resource = { 116 116 .start = GTWX5715_FLASH_BASE, 117 - .end = GTWX5715_FLASH_BASE + GTWX5715_FLASH_SIZE, 117 + .end = GTWX5715_FLASH_BASE + GTWX5715_FLASH_SIZE - 1, 118 118 .flags = IORESOURCE_MEM, 119 119 }; 120 120
+1 -1
arch/arm/mach-ixp4xx/ixdp425-setup.c
··· 36 36 37 37 static struct resource ixdp425_flash_resource = { 38 38 .start = IXDP425_FLASH_BASE, 39 - .end = IXDP425_FLASH_BASE + IXDP425_FLASH_SIZE, 39 + .end = IXDP425_FLASH_BASE + IXDP425_FLASH_SIZE - 1, 40 40 .flags = IORESOURCE_MEM, 41 41 }; 42 42