From: Philippe Gerum <rpm@xenomai.org>
To: VEYSSIERE Nicolas <nicolas.veyssiere@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Xenomai 2.5.6 and 2.6.38.8 kernel
Date: Wed, 22 Jun 2011 11:32:52 +0200 [thread overview]
Message-ID: <1308735172.2159.15.camel@domain.hid> (raw)
In-Reply-To: <2157_1308732935_4E01AE07_2157_14293_1_ECB646CBB62FD044927FDEDF0252D3E701E388AD6F15@domain.hid>
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@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
next prev parent reply other threads:[~2011-06-22 9:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-22 8:55 [Xenomai-help] Xenomai 2.5.6 and 2.6.38.8 kernel VEYSSIERE Nicolas
2011-06-22 9:32 ` Philippe Gerum [this message]
2011-06-22 10:04 ` VEYSSIERE Nicolas
2011-07-26 17:23 ` Pedro Santana
2011-07-27 18:56 ` Gilles Chanteperdrix
2011-10-14 16:32 ` Kunal Anand
2011-10-14 17:18 ` Gilles Chanteperdrix
[not found] ` <CABLMfBWTB9+0xQkT-F+SfpsyjE9QYgGN2c8GKqB2Y4PKLbMi0A@mail.gmail.com>
2011-10-15 17:17 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2011-06-14 15:02 Anders Blomdell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1308735172.2159.15.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=nicolas.veyssiere@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.