lkml.org 
[lkml]   [2006]   [Aug]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromAndi Kleen <>
SubjectRe: [PATCH for review] [13/145] x86_64: Add abilty to enable/disable nmi watchdog with sysctl
DateFri, 11 Aug 2006 08:44:32 +0200
> 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 06:55    [from the cache]
©2003-2008