On Wed, 2011-06-22 at 10:55 +0200, VEYSSIERE Nicolas wrote: > Same thing here, I tried to patch linux 2.6.38 with the latest adeos > patch > (http://download.gna.org/adeos/patches/v2.6/x86/adeos-ipipe-2.6.38.8-x86-2.10-00.patch) > but the kernel compilation failed : > >
Support for latency watchdog is discontinued starting from 2.6.38. diff --git a/ksrc/arch/x86/hal_32.c b/ksrc/arch/x86/hal_32.c index 5f5ff2c..de21c90 100644 --- a/ksrc/arch/x86/hal_32.c +++ b/ksrc/arch/x86/hal_32.c @@ -337,7 +337,7 @@ int rthal_arch_init(void) rthal_smi_restore(); return -ENODEV; } -#ifdef CONFIG_GENERIC_CLOCKEVENTS +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && defined(CONFIG_GENERIC_CLOCKEVENTS) if (nmi_watchdog == NMI_IO_APIC) { printk("Xenomai: NMI kernel watchdog set to NMI_IO_APIC (nmi_watchdog=1).\n" " This will disable the LAPIC as a clock device, and\n" > > > > …… > > LD arch/x86/pci/built-in.o > > CC arch/x86/power/cpu.o > > CC arch/x86/power/hibernate_32.o > > AS arch/x86/power/hibernate_asm_32.o > > LD arch/x86/power/built-in.o > > CC arch/x86/video/fbdev.o > > LD arch/x86/video/built-in.o > > CC arch/x86/xenomai/hal_32.o > > arch/x86/xenomai/hal_32.c: In function 'rthal_arch_init': > > arch/x86/xenomai/hal_32.c:341: error: 'nmi_watchdog' undeclared (first > use in this function) > > arch/x86/xenomai/hal_32.c:341: error: (Each undeclared identifier is > reported only once > > arch/x86/xenomai/hal_32.c:341: error: for each function it appears > in.) > > arch/x86/xenomai/hal_32.c:341: error: 'NMI_IO_APIC' undeclared (first > use in this function) > > At top level: > > cc1: warning: unrecognized command line option > "-Wno-unused-but-set-variable" > > make[1]: *** [arch/x86/xenomai/hal_32.o] Error 1 > > make: *** [arch/x86/xenomai] Error 2 > > > > > > > > Can someone tell me what to do ? > > > > Thanks. > > > > Regards, > > > > -- > > Nicolas VEYSSIERE > > > > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@gna.org > https://mail.gna.org/listinfo/xenomai-help -- Philippe. _______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help