Skip to content
Commit 03e5386e authored by Quinn Jensen's avatar Quinn Jensen Committed by Russell King
Browse files

[ARM] 4530/1: MXC: fix elf_hwcap compile breakage as in iop13xx



MXC needs the same change as IOP.  See [ARM] 4494/1
or commit 7dea1b20

An undefined reference to elf_hwcap prevents linkage, due
to changes made by f884b1cf
and d1cbbd6b

Removing processor.h removes the extern definition of
elf_hwcap, which fixes the link issue, but forgets cpu_relax().
So, instead, we'll call barrier() directly.

Cc: Lennert Buytenhek <kernel@wantstofly.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: default avatarRoss Wille <wille@freescale.com>
Signed-off-by: default avatarQuinn Jensen <quinn.jensen@freescale.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent cc46f659
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment