浏览代码

Blackfin arch: bfin_reset() is an internal reboot function ... everyone should go through machine_restart()

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Mike Frysinger 16 年之前
父节点
当前提交
9a6f5ae1f1
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0 1
      arch/blackfin/include/asm/bfin-global.h
  2. 1 1
      arch/blackfin/kernel/reboot.c

+ 0 - 1
arch/blackfin/include/asm/bfin-global.h

@@ -63,7 +63,6 @@ extern void bfin_dcache_init(void);
 extern void init_exception_vectors(void);
 extern void program_IAR(void);
 
-extern void bfin_reset(void);
 extern asmlinkage void lower_to_irq14(void);
 extern asmlinkage void bfin_return_from_exception(void);
 extern asmlinkage void evt14_softirq(void);

+ 1 - 1
arch/blackfin/kernel/reboot.c

@@ -20,7 +20,7 @@
  * the core reset.
  */
 __attribute__((l1_text))
-void bfin_reset(void)
+static void bfin_reset(void)
 {
 	/* Wait for completion of "system" events such as cache line
 	 * line fills so that we avoid infinite stalls later on as