[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A6538EE.6000903@jp.fujitsu.com>
Date: Tue, 21 Jul 2009 12:41:34 +0900
From: Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>
To: "H. Peter Anvin" <hpa@...or.com>
CC: Andi Kleen <andi@...stfloor.org>, Doug Thompson <norsk5@...oo.com>,
Borislav Petkov <borislav.petkov@....com>, mingo@...e.hu,
tglx@...utronix.de, aris@...hat.com, linux-kernel@...r.kernel.org,
x86@...nel.org
Subject: Re: [PATCH 07/14] mce3: pass mce info to EDAC for decoding
H. Peter Anvin wrote:
> If you want modules to change the behavior, you're talking about a
> *dynamic* change -- the call will point to different things at different
> points in time -- so you need another mechanism, i.e. function pointers.
Just FYI, machine check handler on ia64 has such function pointer.
[arch/ia64/kernel/mca.c]
826 /* Function pointer for extra MCA recovery */
827 int (*ia64_mca_ucmc_extension)
828 (void*,struct ia64_sal_os_state*)
829 = NULL;
Thanks,
H.Seto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists