lkml.org 
[lkml]   [2006]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH for review] [13/145] x86_64: Add abilty to enable/disable nmi watchdog with sysctl
Date

> Files 'nmi.c' from both archs don't match, obviously. But lets see, how.

nmi.c for x86-64 only aims to support new hardware and is thus a somewhat
cleaner version of the i386 version. Also there are some differences how
it interfaces with the rest of the port.


> -+ if (nmi_watchdog == NMI_DEFAULT) {
> -+ if (nmi_known_cpu() > 0)
> -+ nmi_watchdog = NMI_LOCAL_APIC;
> -+ else
> -+ nmi_watchdog = NMI_IO_APIC;
> -+ }
> ++ /* if nmi_watchdog is not set yet, then set it */
> ++ nmi_watchdog_default();
>
> i don't know about nmi, but please drop a word why this is different in both files;

They've involving independently and not all changes are added to both.
In this case it was a x86-64 specific cleanup.

> Maybe this must be one file for both archs ?

No.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-11 08:55    [W:0.036 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site