> From: Borislav Petkov [mailto:[email protected]] > 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 <[email protected]> > > Cc: Andrew Morton <[email protected]> > > Cc: Borislav Petkov <[email protected]> > > Cc: Michal Nazarewicz <[email protected]> > > Cc: Michal Hocko <[email protected]> > > Cc: Rasmus Villemoes <[email protected]> > > Cc: Nicolas Iooss <[email protected]> > > Cc: Javi Merino <[email protected]> > > Cc: Gobinda Charan Maji <[email protected]> > > Cc: "Steven Rostedt (Red Hat)" <[email protected]> > > Cc: Thomas Gleixner <[email protected]> > > Cc: Vitaly Kuznetsov <[email protected]> > > Cc: HATAYAMA Daisuke <[email protected]> > > Cc: Tejun Heo <[email protected]> > > --- > > include/linux/kernel.h | 21 +-------------------- > > kernel/panic.c | 20 ++++++++++++++++++++ > > 2 files changed, 21 insertions(+), 20 deletions(-) > > Acked-by: Borislav Petkov <[email protected]> > > -- > Regards/Gruss, > Boris. > > ECO tip #101: Trim your mails when you reply.

