diff options
Diffstat (limited to 'arch/arm/kernel/xscale-cp0.c')
-rw-r--r-- | arch/arm/kernel/xscale-cp0.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/kernel/xscale-cp0.c b/arch/arm/kernel/xscale-cp0.c index e42adc6bcdb1..bdbb8853a19b 100644 --- a/arch/arm/kernel/xscale-cp0.c +++ b/arch/arm/kernel/xscale-cp0.c | |||
@@ -157,15 +157,14 @@ static int __init xscale_cp0_init(void) | |||
157 | 157 | ||
158 | if (cpu_has_iwmmxt()) { | 158 | if (cpu_has_iwmmxt()) { |
159 | #ifndef CONFIG_IWMMXT | 159 | #ifndef CONFIG_IWMMXT |
160 | printk(KERN_WARNING "CAUTION: XScale iWMMXt coprocessor " | 160 | pr_warn("CAUTION: XScale iWMMXt coprocessor detected, but kernel support is missing.\n"); |
161 | "detected, but kernel support is missing.\n"); | ||
162 | #else | 161 | #else |
163 | printk(KERN_INFO "XScale iWMMXt coprocessor detected.\n"); | 162 | pr_info("XScale iWMMXt coprocessor detected.\n"); |
164 | elf_hwcap |= HWCAP_IWMMXT; | 163 | elf_hwcap |= HWCAP_IWMMXT; |
165 | thread_register_notifier(&iwmmxt_notifier_block); | 164 | thread_register_notifier(&iwmmxt_notifier_block); |
166 | #endif | 165 | #endif |
167 | } else { | 166 | } else { |
168 | printk(KERN_INFO "XScale DSP coprocessor detected.\n"); | 167 | pr_info("XScale DSP coprocessor detected.\n"); |
169 | thread_register_notifier(&dsp_notifier_block); | 168 | thread_register_notifier(&dsp_notifier_block); |
170 | cp_access |= 1; | 169 | cp_access |= 1; |
171 | } | 170 | } |