浏览代码

MIPS: Clarify the comment for `__cpu_has_fpu'

Reword the comment for `__cpu_has_fpu' to make it unambiguous this code
is for external floating-point units only, generally MIPS I processors
using the original CP1 hardware interface.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9673/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Maciej W. Rozycki 10 年之前
父节点
当前提交
f6c70ff4de
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/mips/kernel/cpu-probe.c

+ 1 - 1
arch/mips/kernel/cpu-probe.c

@@ -193,7 +193,7 @@ static inline unsigned long cpu_get_fpu_id(void)
 }
 }
 
 
 /*
 /*
- * Check the CPU has an FPU the official way.
+ * Check if the CPU has an external FPU.
  */
  */
 static inline int __cpu_has_fpu(void)
 static inline int __cpu_has_fpu(void)
 {
 {