]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 31 Oct 2013 16:37:26 +0000 (16:37 +0000)
commitddf5b8364cfc5526497a4d4b8114a88cae9b2b9b
treea4240193dca9735a643f61cf88f5271ee619ab43
parent1371c5650f3e84f2d77d4e5b6e90b2e9aac6b46a
arm64: Slightly improve the warning on CPU0 enable-method

Commit 013001871a3e (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>
arch/arm64/kernel/cpu_ops.c