lkml.org 
[lkml]   [2005]   [Jun]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateThu, 9 Jun 2005 09:34:25 -0700 (PDT)
FromDaniel Walker <>
SubjectRe: [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00
On Thu, 9 Jun 2005, Serge Noiraud wrote:

> Same problem with 48-04 and 48-05
> It works great with rc6 without RT patch.
> Here is my .config
> The cmdline options at boot time are :
> #more /proc/cmdline
> BOOT_IMAGE=2.6.12rc6RTV0.7.4805 ro root=306 console=ttyS0 console=tty1 \
> acpi=force apm=smp resume=/dev/hda5



Does this patch get you any further?


Daniel

Index: linux-2.6.11/arch/i386/kernel/io_apic.c
===================================================================
--- linux-2.6.11.orig/arch/i386/kernel/io_apic.c	2005-06-09 16:31:54.000000000 +0000
+++ linux-2.6.11/arch/i386/kernel/io_apic.c	2005-06-09 16:31:20.000000000 +0000
@@ -1804,8 +1804,9 @@ static void __init setup_ioapic_ids_from
  */
 static int __init timer_irq_works(void)
 {
-	unsigned long t1 = jiffies;
+	unsigned long t1 = jiffies, flags;
 
+	raw_local_save_flags(flags);
 	raw_local_irq_enable();
 	/* Let ten ticks pass... */
 	mdelay((10 * 1000) / HZ);
@@ -1820,6 +1821,7 @@ static int __init timer_irq_works(void)
 	if (jiffies - t1 > 4)
 		return 1;
 
+	raw_local_irq_restore(flags);
 	return 0;
 }
 
-
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: 2005-06-09 16:39    [from the cache]
©2003-2008