Blackfin arch: bfin_reset() is an internal reboot function ... everyone should go...
authorMike Frysinger <vapier.adi@gmail.com>
Fri, 10 Oct 2008 10:57:21 +0000 (18:57 +0800)
committerBryan Wu <cooloney@kernel.org>
Fri, 10 Oct 2008 10:57:21 +0000 (18:57 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/include/asm/bfin-global.h
arch/blackfin/kernel/reboot.c

index f842ea3bfc1935f294dabf3a1e1c9e538915070e..56dcb0a2d2449ced3d11097a889be0cde31d3017 100644 (file)
@@ -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);
index b0a8f89cc9b69fd602796124460ecd122a232b26..d0ead640d992d9220b5e55bc11abdf2e25770fbd 100644 (file)
@@ -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