> From: Borislav Petkov [mailto:bp@xxxxxxxxx] > On Thu, Mar 03, 2016 at 07:57:44PM +0900, Hidehiro Kawai wrote: > > Change nmi_panic() macro to a normal function for the portability. > > portability? I wanted to say encapsulating things into a function makes modules only have to know about the function. Modules don't need to know all things in the macro. But I thought again, and `portability' was not appropriate. However, this patch set has been queued into -mm now. So I'll leave this if not necessary. Regards, Hidehiro Kawai > > Also, export it for modules. > > > > Changes since v2: > > - Make nmi_panic receive a single string instead of printf style args > > > > Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@xxxxxxxxxxx> > > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > > Cc: Borislav Petkov <bp@xxxxxxx> > > Cc: Michal Nazarewicz <mina86@xxxxxxxxxx> > > Cc: Michal Hocko <mhocko@xxxxxxxx> > > Cc: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> > > Cc: Nicolas Iooss <nicolas.iooss_linux@xxxxxxx> > > Cc: Javi Merino <javi.merino@xxxxxxx> > > Cc: Gobinda Charan Maji <gobinda.cemk07@xxxxxxxxx> > > Cc: "Steven Rostedt (Red Hat)" <rostedt@xxxxxxxxxxx> > > Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > Cc: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> > > Cc: HATAYAMA Daisuke <d.hatayama@xxxxxxxxxxxxxx> > > Cc: Tejun Heo <tj@xxxxxxxxxx> > > --- > > include/linux/kernel.h | 21 +-------------------- > > kernel/panic.c | 20 ++++++++++++++++++++ > > 2 files changed, 21 insertions(+), 20 deletions(-) > > Acked-by: Borislav Petkov <bp@xxxxxxx> > > -- > Regards/Gruss, > Boris. > > ECO tip #101: Trim your mails when you reply. ��.n��������+%������w��{.n�����{���rh���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f