aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>2008-04-17 17:00:37 +0900
committerTony Luck <tony.luck@intel.com>2008-04-22 08:56:38 -0700
commit4fa2f0e672ba16b55a34ecfa514ccd92e226d3d4 (patch)
treec52bc8c86ac909c281e0362e8ff29f54ea4ca6ed /include/asm-ia64
parent[IA64] do notify DIE_MCA_MONARCH_PROCESS for each monarchs (diff)
downloadlinux-dev-4fa2f0e672ba16b55a34ecfa514ccd92e226d3d4.tar.xz
linux-dev-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')
-rw-r--r--include/asm-ia64/mca.h1
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);