diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-13 20:25:52 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-21 21:26:24 +0400 |
commit | 39378e4143f9b698e5bd1a0a6fadf13224fee015 (patch) | |
tree | 156760fb7d67706206b835be9c80b0f44131bd84 /arch/arm/mach-sunxi/headsmp.S | |
parent | 714e3302538ab1eff926e64ee56a1b50c9b0ca2b (diff) | |
download | linux-39378e4143f9b698e5bd1a0a6fadf13224fee015.tar.xz |
ARM: exynos: fix l2x0 saved regs handling
The exynos4_l2x0_cache_init function tries to flush the data cache
for the location of the saved l2x0 registers and pass the physical
address to the s5p-sleep implementation.
However, the s5p-sleep code is optional, and if it is disabled,
we get a linker error here when the l2x0_regs_phys variable does
not exist.
To solve this, use a compile-time conditional to drop this code
if we don't want it.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-sunxi/headsmp.S')
0 files changed, 0 insertions, 0 deletions