瀏覽代碼

metag/smp: Make boot_secondary() static

boot_secondary() is not used outside arch/metag/kernel/smp.c, hence make it
static.

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Geert Uytterhoeven 11 年之前
父節點
當前提交
e9a1d0165b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/metag/kernel/smp.c

+ 1 - 1
arch/metag/kernel/smp.c

@@ -68,7 +68,7 @@ static DECLARE_COMPLETION(cpu_running);
 /*
  * "thread" is assumed to be a valid Meta hardware thread ID.
  */
-int boot_secondary(unsigned int thread, struct task_struct *idle)
+static int boot_secondary(unsigned int thread, struct task_struct *idle)
 {
 	u32 val;