Re: [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00

From: Daniel Walker
Date: Thu Jun 09 2005 - 11:36:56 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/