ARM: exynos: fix l2x0 saved regs handling
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 <f2c659f01951776204a6c5b902787d9019fbeebd@arndb.de>
Acked-by: Kukjin Kim <3fc711f4e08bc570a586748633ff7c76d0e1e253@samsung.com>
Cc: Tomasz Figa <69861c78e6f8ec8c6fbfd1c06050c87cda6b23eb@gmail.com>
Cc: Ben Dooks <1177f64998f284a7348354b8e91cbbe575d9858a@fluff.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs