Re: [PATCHSET] Announce: High-res timers, tickless/dyntick and dynamicHZ

From: Michal Piotrowski
Date: Mon Jun 19 2006 - 12:34:06 EST


Hi,

Ingo Molnar napisaÅ(a):
> * Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx> wrote:
>
>> WARNING: /lib/modules/2.6.17-hrt-dyntick1/kernel/sound/pci/ac97/snd-ac97-codec.ko needs unknown symbol msecs_to_jiffies
>> WARNING: /lib/modules/2.6.17-hrt-dyntick1/kernel/drivers/net/skge.ko needs unknown symbol jiffies_to_msecs
>> WARNING: /lib/modules/2.6.17-hrt-dyntick1/kernel/drivers/cpufreq/cpufreq_ondemand.ko needs unknown symbol jiffies_to_usecs
>> etc...
>>
>> warnings.
>>
>> Here is fix small fix.
>
> thanks. I've uploaded the current combo patch to:
>
> http://redhat.com/~mingo/high-res-timers-dyntick/hres-dyntick-combo-2.6.17-2.patch
>
> (this also includes work-in-progress x86_64 bits - the .config options
> are offered by dynticks are not yet functional there.)
>
> Ingo
>

Here is the last EXPORT_SYMBOL fix.
WARNING: /lib/modules/2.6.17-hrt-dyntick1/kernel/drivers/cpufreq/cpufreq_stats.ko needs unknown symbol jiffies_64_to_clock_t

BTW. APM doesn't compile.

/usr/src/linux-work1/arch/i386/kernel/apm.c: In function âapm_do_idleâ:
/usr/src/linux-work1/arch/i386/kernel/apm.c:767: error: âTIF_POLLING_NRFLAGâ undeclared (first use in this function)
/usr/src/linux-work1/arch/i386/kernel/apm.c:767: error: (Each undeclared identifier is reported only once
/usr/src/linux-work1/arch/i386/kernel/apm.c:767: error: for each function it appears in.)
/usr/src/linux-work1/arch/i386/kernel/apm.c: In function âsuspendâ:
/usr/src/linux-work1/arch/i386/kernel/apm.c:1193: warning: âpm_send_allâ is deprecated (declared at /usr/src/linux-work1/inc
lude/linux/pm_legacy.h:26)
/usr/src/linux-work1/arch/i386/kernel/apm.c:1247: warning: âpm_send_allâ is deprecated (declared at /usr/src/linux-work1/inc
lude/linux/pm_legacy.h:26)
/usr/src/linux-work1/arch/i386/kernel/apm.c: In function âcheck_eventsâ:
/usr/src/linux-work1/arch/i386/kernel/apm.c:1368: warning: âpm_send_allâ is deprecated (declared at /usr/src/linux-work1/inc
lude/linux/pm_legacy.h:26)
make[2]: *** [arch/i386/kernel/apm.o] BÅÄd 1
make[1]: *** [arch/i386/kernel] BÅÄd 2
make: *** [_all] BÅÄd 2


Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)

diff -uprN -X linux-work/Documentation/dontdiff linux-work-clean/kernel/time.c linux-work/kernel/time.c
--- linux-work-clean/kernel/time.c 2006-06-19 18:21:37.000000000 +0200
+++ linux-work/kernel/time.c 2006-06-19 18:18:37.000000000 +0200
@@ -879,6 +879,8 @@ u64 jiffies_64_to_clock_t(u64 x)
return x;
}

+EXPORT_SYMBOL(jiffies_64_to_clock_t);
+
u64 nsec_to_clock_t(u64 x)
{
#if (NSEC_PER_SEC % USER_HZ) == 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/