linux/include/asm-arm/arch-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
..
coyote.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug-macro.S [PATCH] ARM: 2759/1: Fix IXP4xx debug code (again) 2005-06-27 21:48:48 +01:00
dma.h [ARM] Remove definition of MAX_DMA_CHANNELS to zero 2006-01-04 15:51:51 +00:00
entry-macro.S [ARM] Cleanup ARM includes 2006-01-03 17:39:34 +00:00
gtwx5715.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hardware.h [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support 2006-01-04 17:17:11 +00:00
io.h [ARM] __ioremap doesn't use 4th argument 2005-11-17 16:48:00 +00:00
irq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irqs.h [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support 2006-01-04 17:17:11 +00:00
ixdp425.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ixp4xx-regs.h [ARM] 3171/1: To add missing QMGR region size for IXP4XX 2005-11-21 15:17:07 +00:00
memory.h [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
nas100d.h [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support 2006-01-04 17:17:11 +00:00
nslu2.h [ARM] 3140/1: NSLU2 machine support 2005-11-10 14:05:04 +00:00
param.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platform.h [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx 2006-01-04 17:17:10 +00:00
prpmc1100.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
system.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
timex.h [PATCH] Fix IXP4xx CLOCK_TICK_RATE 2005-08-23 20:06:33 -07:00
uncompress.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vmalloc.h [PATCH] ARM: cleanup vmalloc start/offset macros 2005-05-03 12:20:29 +01:00