From: Wolfgang Grandegger <wg@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: [Xenomai-core] Re: Xenomai broken on Linux 2.4
Date: Thu, 12 Jan 2006 17:08:05 +0100 [thread overview]
Message-ID: <43C67EE5.1040301@domain.hid> (raw)
In-Reply-To: <43C638B1.2050607@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
Philippe Gerum wrote:
> Wolfgang Grandegger wrote:
>
>> Hi Philippe,
>>
>> I just realized that recent changes in ksrc/arch/powerpc/switch.S have
>> broken the build of Xenomai with linuxppc_2_4_devel on PPC:
>>
>> #include <asm/offsets.h> does not exist
>> Symbols like SAVE_NVGPRS do not exist
>>
>
> Fixed.
Thanks. Attached is a little patch fixing a build problem with Linux
2.6.14 for PowerPC (ocotea, AMCC 440GX). But I'm not sure when exactly
the change happened.
>> For the time being, I will stick with an older version for testing
>> RTnet (where I'm currently debugging "floating point used in kernel"
>> errors on the MPC8260),
>>
>> Thanks.
>>
>> Wolfgang.
>>
>
>
[-- Attachment #2: linux-2.6.14-ipipe-wrapper.patch --]
[-- Type: text/x-patch, Size: 761 bytes --]
+ diff -u linux-2.6.14-ipipe/include/asm-generic/xenomai/wrappers.h.ORIG1 linux-2.6.14-ipipe/include/asm-generic/xenomai/wrappers.h
--- linux-2.6.14-ipipe/include/asm-generic/xenomai/wrappers.h.ORIG1 2006-01-12 16:13:28.958070000 +0100
+++ linux-2.6.14-ipipe/include/asm-generic/xenomai/wrappers.h 2006-01-12 16:56:08.623129271 +0100
@@ -150,7 +150,7 @@
/* Device registration */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,13)
#define DECLARE_DEVCLASS(clname) struct class *clname
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
#define wrap_class_device_create class_device_create
#else /* < 2.6.15 */
#define wrap_class_device_create(c,p,dt,dv,fmt,args...) class_device_create(c,dt,dv,fmt , ##args)
next prev parent reply other threads:[~2006-01-12 16:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-12 9:09 [Xenomai-core] Xenomai broken on Linux 2.4 Wolfgang Grandegger
2006-01-12 9:12 ` [Xenomai-core] " Philippe Gerum
2006-01-12 9:56 ` Stelian Pop
2006-01-12 10:18 ` Philippe Gerum
2006-01-12 11:08 ` Philippe Gerum
2006-01-12 11:08 ` Philippe Gerum
2006-01-12 16:08 ` Wolfgang Grandegger [this message]
2006-01-12 18:45 ` Philippe Gerum
2006-01-12 19:55 ` Wolfgang Grandegger
2006-01-12 21:54 ` Wolfgang Denk
2006-01-12 22:06 ` Philippe Gerum
2006-01-13 1:14 ` Wolfgang Denk
2006-01-13 8:33 ` Wolfgang Grandegger
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=43C67EE5.1040301@domain.hid \
--to=wg@domain.hid \
--cc=rpm@xenomai.org \
--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.