Skip to content

Commit

Permalink
Blackfin arch: bfin_reset() is an internal reboot function ... everyo…
Browse files Browse the repository at this point in the history
…ne should go through machine_restart()

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Oct 10, 2008
1 parent e482cad commit 9a6f5ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion arch/blackfin/include/asm/bfin-global.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a6f5ae

Please sign in to comment.