mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
[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>
This commit is contained in:
parent
284e542795
commit
4fa2f0e672
3 changed files with 38 additions and 41 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue