summaryrefslogtreecommitdiff
path: root/include
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
parent284e54279597e0933d785580a43be0b0194dfa00 (diff)
downloadlinux-3.10-4fa2f0e672ba16b55a34ecfa514ccd92e226d3d4.tar.gz
linux-3.10-4fa2f0e672ba16b55a34ecfa514ccd92e226d3d4.tar.bz2
linux-3.10-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')
-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 f1663aa94a5..18a4321349a 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);