* [Xenomai-core] #include <linux/uaccess.h> fails with Linux 2.4
@ 2008-01-09 9:46 Wolfgang Grandegger
2008-01-09 9:54 ` Gilles Chanteperdrix
2008-01-09 11:45 ` Philippe Gerum
0 siblings, 2 replies; 3+ messages in thread
From: Wolfgang Grandegger @ 2008-01-09 9:46 UTC (permalink / raw)
To: xenomai-core
Hello,
recent versions of Xenomai include the header file "linux/uaccess.h" in
"xenomai/include/asm-generic/syscall.h" which does not exist under Linux
2.4. "asm/uaccess" should be used instead. Any clever idea how to fix it
(without using #ifdefs)?
Wolfgang.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] #include <linux/uaccess.h> fails with Linux 2.4
2008-01-09 9:46 [Xenomai-core] #include <linux/uaccess.h> fails with Linux 2.4 Wolfgang Grandegger
@ 2008-01-09 9:54 ` Gilles Chanteperdrix
2008-01-09 11:45 ` Philippe Gerum
1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2008-01-09 9:54 UTC (permalink / raw)
To: Wolfgang Grandegger; +Cc: xenomai-core
On Jan 9, 2008 10:46 AM, Wolfgang Grandegger <wg@domain.hid> wrote:
> Hello,
>
> recent versions of Xenomai include the header file "linux/uaccess.h" in
> "xenomai/include/asm-generic/syscall.h" which does not exist under Linux
> 2.4. "asm/uaccess" should be used instead. Any clever idea how to fix it
> (without using #ifdefs)?
Add include/compat/linux/uaccess.h that does #include <asm/uaccess.h>
--
Gilles Chanteperdrix
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] #include <linux/uaccess.h> fails with Linux 2.4
2008-01-09 9:46 [Xenomai-core] #include <linux/uaccess.h> fails with Linux 2.4 Wolfgang Grandegger
2008-01-09 9:54 ` Gilles Chanteperdrix
@ 2008-01-09 11:45 ` Philippe Gerum
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2008-01-09 11:45 UTC (permalink / raw)
To: Wolfgang Grandegger; +Cc: xenomai-core
Wolfgang Grandegger wrote:
> Hello,
>
> recent versions of Xenomai include the header file "linux/uaccess.h" in
> "xenomai/include/asm-generic/syscall.h" which does not exist under Linux
> 2.4. "asm/uaccess" should be used instead. Any clever idea how to fix it
> (without using #ifdefs)?
Actually, we should be fine with asm/uaccess.h in any case. Fixed in the
repo.
--
Philippe.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-09 11:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 9:46 [Xenomai-core] #include <linux/uaccess.h> fails with Linux 2.4 Wolfgang Grandegger
2008-01-09 9:54 ` Gilles Chanteperdrix
2008-01-09 11:45 ` Philippe Gerum
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.