original_kernel/arch/arm/mach-ixp4xx
Rod Whitby 313cbb5519 [ARM] 3218/1: PAGE_SHIFT undeclared in arch-ixp4xx/memory.h (adjust_zones moved out of line)
Patch from Rod Whitby

PAGE_SHIFT is undeclared in include/asm-arm/arch-ixp4xx/memory.h, identified by the following kernel compilation error:

CC [M] sound/core/memory.o
In file included from include/asm/memory.h:27,
from include/asm/io.h:28,
from sound/core/memory.c:24:
include/asm/arch/memory.h: In function `__arch_adjust_zones':
include/asm/arch/memory.h:28: error: `PAGE_SHIFT' undeclared (first use
in this function)

This patch replaces my previous attempt at fixing this problem (Patch 3214/1) and is based on the following feedback:

Russell King wrote:
> The error you see came up on SA1100.  The best solution was to move
> the __arch_adjust_zones() function out of line.  I suggest ixp4xx
> does the same.

I have moved the function out of line into arch/arm/mach-ixp4xx/common-pci.c as suggested.

Signed-off-by: Rod Whitby <rod@whitby.id.au>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-01-04 17:17:13 +00:00
..
Kconfig [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support 2006-01-04 17:17:11 +00:00
Makefile [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support 2006-01-04 17:17:11 +00:00
Makefile.boot
common-pci.c [ARM] 3218/1: PAGE_SHIFT undeclared in arch-ixp4xx/memory.h (adjust_zones moved out of line) 2006-01-04 17:17:13 +00:00
common.c [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx 2006-01-04 17:17:10 +00:00
coyote-pci.c [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx 2006-01-04 17:17:10 +00:00
coyote-setup.c
gtwx5715-pci.c
gtwx5715-setup.c
ixdp425-pci.c [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx 2006-01-04 17:17:10 +00:00
ixdp425-setup.c
ixdpg425-pci.c [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx 2006-01-04 17:17:10 +00:00
nas100d-pci.c [ARM] 3220/1: Remove gpio_isr_line_clear() from NAS 100d 2006-01-04 17:17:12 +00:00
nas100d-power.c [ARM] 3220/1: Remove gpio_isr_line_clear() from NAS 100d 2006-01-04 17:17:12 +00:00
nas100d-setup.c [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support 2006-01-04 17:17:11 +00:00
nslu2-pci.c [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx 2006-01-04 17:17:10 +00:00
nslu2-power.c [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx 2006-01-04 17:17:10 +00:00
nslu2-setup.c