]> err.no Git - linux-2.6/commit
[IA64] simplify notify hooks in mca.c
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Thu, 17 Apr 2008 08:00:37 +0000 (17:00 +0900)
committerTony Luck <tony.luck@intel.com>
Tue, 22 Apr 2008 15:56:38 +0000 (08:56 -0700)
commit4fa2f0e672ba16b55a34ecfa514ccd92e226d3d4
treec52bc8c86ac909c281e0362e8ff29f54ea4ca6ed
parent284e54279597e0933d785580a43be0b0194dfa00
[IA64] simplify notify hooks in mca.c

There are many notify_die() and almost all take same style with
ia64_mca_spin().  This patch defines macros and replace them all,
to reduce lines and to improve readability.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/crash.c
arch/ia64/kernel/mca.c
include/asm-ia64/mca.h