Re: [patch] Real-Time Preemption, -RT-2.6.10-rc1-mm3-V0.7.25-0

From: K.R. Foley
Date: Thu Nov 11 2004 - 13:30:15 EST


Remi Colinet wrote:
Ingo Molnar wrote:

i have released the -V0.7.25-0 Real-Time Preemption patch, which can be
downloaded from the usual place:

http://redhat.com/~mingo/realtime-preempt/




Hi,

I'm getting the following warning with V0.7.25-0

INSTALL sound/drivers/opl3/snd-opl3-lib.ko
INSTALL sound/drivers/opl3/snd-opl3-synth.ko
INSTALL sound/drivers/snd-dummy.ko
INSTALL sound/drivers/snd-mtpav.ko
INSTALL sound/drivers/snd-serial-u16550.ko
INSTALL sound/drivers/snd-virmidi.ko
INSTALL sound/pci/snd-sonicvibes.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.10-rc1-mm3-RT-V0.7.25-0; fi
WARNING: /lib/modules/2.6.10-rc1-mm3-RT-V0.7.25-0/kernel/drivers/char/rtc.ko needs unknown symbol rtc_close_event
WARNING: /lib/modules/2.6.10-rc1-mm3-RT-V0.7.25-0/kernel/drivers/char/rtc.ko needs unknown symbol rtc_open_event
[root@tigre01 im]#

.config file attached

Remi


Does the patch below fix this?

kr

--- linux-2.6.10-rc1-mm3/drivers/char/rtc.c.orig 2004-11-11 11:35:00.898841565 -0600
+++ linux-2.6.10-rc1-mm3/drivers/char/rtc.c 2004-11-11 12:07:54.019642611 -0600
@@ -863,7 +863,9 @@ if(rtc_status & RTC_IS_OPEN)
goto out_busy;
+#ifdef RTC_IRQ rtc_open_event();
+#endif rtc_status |= RTC_IS_OPEN;

rtc_irq_data = 0;
@@ -920,7 +922,9 @@ rtc_irq_data = 0;
rtc_status &= ~RTC_IS_OPEN; spin_unlock_irq (&rtc_lock);
+#ifdef RTC_IRQ rtc_close_event();
+#endif 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/