]> Pileus Git - ~andy/linux/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)
commit264666e62848c19ba9252c80e895ffec9ad1d391
treea4240193dca9735a643f61cf88f5271ee619ab43
parent248f0e7f5f0012fb9c1954e582196aa7f32a0c81
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>
arch/arm64/kernel/cpu_ops.c