diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2013-10-31 12:37:26 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-10-31 12:37:26 -0400 |
commit | 264666e62848c19ba9252c80e895ffec9ad1d391 (patch) | |
tree | a4240193dca9735a643f61cf88f5271ee619ab43 /arch/arm64/kernel | |
parent | 248f0e7f5f0012fb9c1954e582196aa7f32a0c81 (diff) |
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>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r-- | arch/arm64/kernel/cpu_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/cpu_ops.c b/arch/arm64/kernel/cpu_ops.c index e2ba274612cf..d62d12fb36c8 100644 --- a/arch/arm64/kernel/cpu_ops.c +++ b/arch/arm64/kernel/cpu_ops.c | |||
@@ -68,8 +68,8 @@ int __init cpu_read_ops(struct device_node *dn, int cpu) | |||
68 | 68 | ||
69 | cpu_ops[cpu] = cpu_get_ops(enable_method); | 69 | cpu_ops[cpu] = cpu_get_ops(enable_method); |
70 | if (!cpu_ops[cpu]) { | 70 | if (!cpu_ops[cpu]) { |
71 | pr_err("%s: invalid enable-method property: %s\n", | 71 | pr_warn("%s: unsupported enable-method property: %s\n", |
72 | dn->full_name, enable_method); | 72 | dn->full_name, enable_method); |
73 | return -EOPNOTSUPP; | 73 | return -EOPNOTSUPP; |
74 | } | 74 | } |
75 | 75 | ||