diff options
author | Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> | 2008-04-17 17:00:37 +0900 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-04-22 08:56:38 -0700 |
commit | 4fa2f0e672ba16b55a34ecfa514ccd92e226d3d4 (patch) | |
tree | c52bc8c86ac909c281e0362e8ff29f54ea4ca6ed /include/asm-ia64/mca.h | |
parent | 284e54279597e0933d785580a43be0b0194dfa00 (diff) | |
download | lwn-4fa2f0e672ba16b55a34ecfa514ccd92e226d3d4.tar.gz lwn-4fa2f0e672ba16b55a34ecfa514ccd92e226d3d4.zip |
[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>
Diffstat (limited to 'include/asm-ia64/mca.h')
-rw-r--r-- | include/asm-ia64/mca.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ia64/mca.h b/include/asm-ia64/mca.h index f1663aa94a52..18a4321349a3 100644 --- a/include/asm-ia64/mca.h +++ b/include/asm-ia64/mca.h @@ -157,6 +157,7 @@ extern void ia64_mca_printk(const char * fmt, ...) struct ia64_mca_notify_die { struct ia64_sal_os_state *sos; int *monarch_cpu; + int *data; }; DECLARE_PER_CPU(u64, ia64_mca_pal_base); |