arm64: Slightly improve the warning on CPU0 enable-method
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 31 Oct 2013 16:37:26 +0000 (16:37 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 11 Dec 2013 21:14:09 +0000 (21:14 +0000)
commit914866357990d96231a6bb8d2cad870cf21bd44a
treeb1f309408fd5f8bfda493ee1352d7e9c4e8de7ec
parent8cea5d72615ec55b8e31d8d4a066a38041e0dca2
arm64: Slightly improve the warning on CPU0 enable-method

Commit e8765b265a69 (arm64: read enable-method for CPU0) introduced
checks for the enable method on CPU0 (to be later used with CPU
suspend). However, if the kernel is compiled for UP and a DT file is
used with a method like 'spin-table', Linux complains about 'invalid
enable method'. This patch turns it into an 'unsupported enable method'
warning.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 264666e62848c19ba9252c80e895ffec9ad1d391)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/cpu_ops.c