[Xenomai-core] [PATCH] ksrc: respect struct proc_dir_entry changes in 2.6.30

2009-06-11 Thread Vladimir Zapolskiy
Hello, please apply the attached simple patch, which resolves a kind of compilation problems against 2.6.30 kernel. -- With best wishes, Vladimir From 894660f7dc91b406d8e078247b46606778562de9 Mon Sep 17 00:00:00 2001 From: Vladimir Zapolskiy vladimir.zapols...@siemens.com Date: Thu, 11 Jun

Re: [Xenomai-core] [PATCH] ksrc: respect struct proc_dir_entry changes in 2.6.30

2009-06-11 Thread Jan Kiszka
Hi Vladimir, Vladimir Zapolskiy wrote: Hello, please apply the attached simple patch, which resolves a kind of compilation problems against 2.6.30 kernel. -- With best wishes, Vladimir From 894660f7dc91b406d8e078247b46606778562de9 Mon Sep 17 00:00:00 2001 From: Vladimir Zapolskiy

Re: [Xenomai-core] [PATCH] ksrc: respect struct proc_dir_entry changes in 2.6.30

2009-06-11 Thread Vladimir Zapolskiy
Hi Jan, I observed that LINUX_VERSION_CODE comparisons are common enough in Xenomai code. Do you propose to make a separate header, which is included from nucleus, drivers and arch files? -- With best wishes, Vladimir Jan Kiszka wrote: Hi Vladimir, Vladimir Zapolskiy wrote: Hello, please

Re: [Xenomai-core] [PATCH] ksrc: respect struct proc_dir_entry changes in 2.6.30

2009-06-11 Thread Jan Kiszka
Vladimir Zapolskiy wrote: Hi Jan, I observed that LINUX_VERSION_CODE comparisons are common enough in Xenomai code. Do you propose to make a separate header, which is included from nucleus, drivers and arch files? Yes, it's common, but we also keep a lot of wrapping in asm-*/wrappers.h. Jan

Re: [Xenomai-core] [PATCH] ksrc: respect struct proc_dir_entry changes in 2.6.30

2009-06-11 Thread Philippe Gerum
On Thu, 2009-06-11 at 12:16 +0200, Jan Kiszka wrote: Vladimir Zapolskiy wrote: Hi Jan, I observed that LINUX_VERSION_CODE comparisons are common enough in Xenomai code. Do you propose to make a separate header, which is included from nucleus, drivers and arch files? Yes, it's common,

Re: [Xenomai-core] [PATCH] ksrc: respect struct proc_dir_entry changes in 2.6.30

2009-06-11 Thread Vladimir Zapolskiy
Thank you very much for the detailed explanation. The updated patch is attached. With best wishes, Vladimir Philippe Gerum wrote: On Thu, 2009-06-11 at 12:16 +0200, Jan Kiszka wrote: Vladimir Zapolskiy wrote: Hi Jan, I observed that LINUX_VERSION_CODE comparisons are common enough in