lkml.org 
[lkml]   [2008]   [Feb]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 3 Feb 2008 08:12:51 +0100
FromIngo Molnar <>
SubjectRe: [PATCH] x86: fix compile waring building without CONFIG_SYSCTL
* Li Zefan <lizf@cn.fujitsu.com> wrote:

> +#ifdef CONFIG_SYSCTL
>  static int unknown_nmi_panic_callback(struct pt_regs *regs, int cpu);
> +#endif

instead of adding another #ifdef, a much cleaner solution would be to 
just reorder do_nmi_callback() with unknown_nmi_panic_callback(), and 
eliminate the prototype altogether.

	Ingo


\
 
 \ /
  Last update: 2008-02-03 08:15    [from the cache]
©2003-2008