android_kernel_motorola_sm6225/include/asm-arm/arch-iop13xx
Dan Williams 7dea1b2006 [ARM] 4494/1: iop13xx: fix up elf_hwcap compile breakage
arch/arm/boot/compressed/misc.o: In function `valid_user_regs':
misc.c:(.text+0x74): undefined reference to `elf_hwcap'

This triggers after the various elf_hwcap cleanups in:
f884b1cf57
d1cbbd6b41

include/asm-arm/arch-iop13xx/uncompress.h calls cpu_relax while spinning on
a register value.  cpu_relax requires processor.h->ptrace.h->hwcap.h

'elf_hwcap' is defined as an extern, but since the uncompressor does not
link against arch/arm/kernel/setup.c 'elf_hwcap' remains undefined.

Fix is to open code the cpu_relax() call as barrier().

Cc: Lennert Buytenhek <kernel@wantstofly.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2007-07-20 09:35:35 +01:00
..
adma.h iop13xx: surface the iop13xx adma units to the iop-adma driver 2007-07-13 08:06:18 -07:00
debug-macro.S [ARM] 3995/1: iop13xx: add iop13xx support 2006-12-07 17:20:21 +00:00
dma.h [ARM] 3995/1: iop13xx: add iop13xx support 2006-12-07 17:20:21 +00:00
entry-macro.S [ARM] 4185/2: entry: introduce get_irqnr_preamble and arch_ret_to_user 2007-02-17 15:04:29 +00:00
hardware.h [ARM] 3995/1: iop13xx: add iop13xx support 2006-12-07 17:20:21 +00:00
io.h [ARM] Fix iop32x/iop33x build 2007-05-11 17:20:06 +01:00
iop13xx.h iop13xx: surface the iop13xx adma units to the iop-adma driver 2007-07-13 08:06:18 -07:00
iq81340.h [ARM] 4055/1: iop13xx: fix phys_io/io_pg_offst for iq81340mc/sc 2006-12-18 00:14:56 +00:00
irqs.h [ARM] iop13xx: msi support 2007-05-11 17:41:52 +01:00
memory.h [ARM] 3995/1: iop13xx: add iop13xx support 2006-12-07 17:20:21 +00:00
msi.h [ARM] iop13xx: msi support 2007-05-11 17:41:52 +01:00
pci.h [ARM] 3995/1: iop13xx: add iop13xx support 2006-12-07 17:20:21 +00:00
system.h [ARM] 4186/1: iop: remove cp6_enable/disable routines 2007-02-17 15:04:53 +00:00
time.h [ARM] 4343/1: iop13xx: automatically detect the internal bus frequency 2007-04-30 15:24:54 +01:00
timex.h [ARM] 3995/1: iop13xx: add iop13xx support 2006-12-07 17:20:21 +00:00
uncompress.h [ARM] 4494/1: iop13xx: fix up elf_hwcap compile breakage 2007-07-20 09:35:35 +01:00
vmalloc.h [ARM] 3995/1: iop13xx: add iop13xx support 2006-12-07 17:20:21 +00:00