Blackfin: replace "bfin_reset_or_hang()" with "panic()"
authorKyle Moffett <Kyle.D.Moffett@boeing.com>
Mon, 7 Mar 2011 17:37:30 +0000 (12:37 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 8 Apr 2011 04:44:27 +0000 (00:44 -0400)
commiteed1a7b1cfccd427d940a281e21000d8a2f669aa
tree5cbd365a50e8168084d9bf95644a4ae6072c9adb
parenta91eb2c56a54155f6dacca392acb621b43ade84a
Blackfin: replace "bfin_reset_or_hang()" with "panic()"

The bfin_reset_or_hang function unnecessarily duplicates the panic()
logic based on CONFIG_PANIC_HANG.

This patch deletes 20 lines of code and just calls panic() instead.
This also makes the following generic-restart conversion patch simpler.

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/cpu/cpu.h
arch/blackfin/cpu/reset.c
arch/blackfin/cpu/traps.c