Re: Happy New Year (and v2.6.20-rc3 released)

Previous thread: Re: Happy New Year (and v2.6.20-rc3 released) by Cyrill V. Gorcnov on Monday, January 1, 2007 - 5:41 am. (6 messages)

Next thread: Re: Happy New Year (and v2.6.20-rc3 released) by Alessandro Suardi on Monday, January 1, 2007 - 9:28 am. (28 messages)
To: Linus Torvalds <torvalds@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Monday, January 1, 2007 - 7:29 am

I hope that upcoming gcc 4.2 will be considered as supported compiler before
final 2.6.20 release and patch which broke build is reverted or the thing
fixed :)

MODPOST 1371 modules
WARNING: "_proxy_pda" [fs/fuse/fuse.ko] undefined!
make[1]: *** [__modpost] Błąd 1

+ some other modules which I didn't enable this time

--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
-

To: <mingo@...>, <hpa@...>, <linux-kernel@...>, <tglx@...>, <macro@...>
Cc: <gorcunov@...>
Date: Wednesday, December 31, 1969 - 8:00 pm

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---

No code change on binary level.

Index: linux-2.6.git/arch/x86/kernel/apic_32.c
===================================================================
--- linux-2.6.git.orig/arch/x86/kernel/apic_32.c 2008-07-24 14:16:55.000000000 +0400
+++ linux-2.6.git/arch/x86/kernel/apic_32.c 2008-07-24 14:22:00.000000000 +0400
@@ -205,11 +205,15 @@ EXPORT_SYMBOL_GPL(apic_ops);
*/
void __cpuinit enable_NMI_through_LVT0(void)
{
- unsigned int v = APIC_DM_NMI;
+ unsigned int v;
+
+ /* unmask and set to NMI */
+ v = APIC_DM_NMI;

- /* Level triggered for 82489DX */
+ /* Level triggered for 82489DX (32bit mode) */
if (!lapic_is_integrated())
v |= APIC_LVT_LEVEL_TRIGGER;
+
apic_write(APIC_LVT0, v);
}

Index: linux-2.6.git/arch/x86/kernel/apic_64.c
===================================================================
--- linux-2.6.git.orig/arch/x86/kernel/apic_64.c 2008-07-24 14:16:55.000000000 +0400
+++ linux-2.6.git/arch/x86/kernel/apic_64.c 2008-07-24 14:22:09.000000000 +0400
@@ -220,6 +220,11 @@ void __cpuinit enable_NMI_through_LVT0(v

/* unmask and set to NMI */
v = APIC_DM_NMI;
+
+ /* Level triggered for 82489DX (32bit mode) */
+ if (!lapic_is_integrated())
+ v |= APIC_LVT_LEVEL_TRIGGER;
+
apic_write(APIC_LVT0, v);
}

--
--

Previous thread: Re: Happy New Year (and v2.6.20-rc3 released) by Cyrill V. Gorcnov on Monday, January 1, 2007 - 5:41 am. (6 messages)

Next thread: Re: Happy New Year (and v2.6.20-rc3 released) by Alessandro Suardi on Monday, January 1, 2007 - 9:28 am. (28 messages)