]> git.baikalelectronics.ru Git - kernel.git/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)
commit01b15aa20d778a0f9235294c3886c97d7483c2ca
treec52bc8c86ac909c281e0362e8ff29f54ea4ca6ed
parentcfdab59d76534375f37de8c06bbc2129af88943d
[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