浏览代码

[MIPS] SMTC: Declare static what should be static.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 18 年之前
父节点
当前提交
97aef63c9f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/mips/kernel/smtc.c

+ 2 - 2
arch/mips/kernel/smtc.c

@@ -168,9 +168,9 @@ static int __init tintq(char *str)
 
 
 __setup("tintq=", tintq);
 __setup("tintq=", tintq);
 
 
-int imstuckcount[2][8];
+static int imstuckcount[2][8];
 /* vpemask represents IM/IE bits of per-VPE Status registers, low-to-high */
 /* vpemask represents IM/IE bits of per-VPE Status registers, low-to-high */
-int vpemask[2][8] = {
+static int vpemask[2][8] = {
 	{0, 0, 1, 0, 0, 0, 0, 1},
 	{0, 0, 1, 0, 0, 0, 0, 1},
 	{0, 0, 0, 0, 0, 0, 0, 1}
 	{0, 0, 0, 0, 0, 0, 0, 1}
 };
 };