From: Philippe Gerum <rpm@xenomai.org>
To: dietmar.schindler@manroland-web.com
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] [PATCH, Xenomai 2.5.6]
Date: Fri, 27 Jul 2012 14:51:49 +0200 [thread overview]
Message-ID: <50128EE5.3090904@xenomai.org> (raw)
In-Reply-To: <208C6975C932E94F86239FEA59CCA632068318D3@AUSMXMBX02.mrws.biz>
On 07/27/2012 02:45 PM, dietmar.schindler@manroland-web.com wrote:
> These are patches for two files in ksrc/nucleus of Xenomai 2.5.6 to cure an incompatibility with Linux 2.4; if they are bad in form, please let me know.
>
You should backport this patch from the 2.6 tree instead:
e3c13f0685c2edf2a2ce30cd239b3f
> Index: heap.c
> ===================================================================
> --- heap.c (revision 3587)
> +++ heap.c (revision 4276)
> @@ -1127,7 +1127,12 @@
> return NULL;
> }
>
> +#if HAVE_UNLOCKED_IOCTL
> static long xnheap_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
> +#else
> +static int xnheap_ioctl(struct inode *inode,
> + struct file *file, unsigned int cmd, unsigned long arg)
> +#endif
> {
> file->private_data = (void *)arg;
> return 0;
>
> Index: pipe.c
> ===================================================================
> --- pipe.c (revision 3587)
> +++ pipe.c (revision 4276)
> @@ -923,7 +923,12 @@
> return (ssize_t)count;
> }
>
> +#if HAVE_UNLOCKED_IOCTL
> static long xnpipe_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
> +#else
> +static int xnpipe_ioctl(struct inode *inode,
> + struct file *file, unsigned int cmd, unsigned long arg)
> +#endif
> {
> struct xnpipe_state *state = file->private_data;
> int ret = 0;
>
> --
> Best regards,
> Dietmar Schindler
> ________________________________________
> manroland web systems GmbH -- Managing Director: Uwe Lüders
> Registered Office: Augsburg -- Trade Register: AG Augsburg -- HRB-No. 26816 -- VAT: DE281389840
>
> Confidentiality note:
> This eMail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you have received this eMail in error, then please delete this eMail.
>
> - Please consider your environmental responsibility before printing this eMail
> ________________________________________
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai
>
--
Philippe.
next prev parent reply other threads:[~2012-07-27 12:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-27 12:45 [Xenomai] [PATCH, Xenomai 2.5.6] dietmar.schindler
2012-07-27 12:51 ` Philippe Gerum [this message]
2012-08-01 6:58 ` dietmar.schindler
2012-08-01 9:04 ` Philippe Gerum
2012-08-01 9:21 ` Gilles Chanteperdrix
2012-08-01 9:52 ` Philippe Gerum
2012-08-01 9:52 ` Philippe Gerum
2012-08-01 11:59 ` Philippe Gerum
2012-08-01 13:10 ` Gilles Chanteperdrix
2012-08-01 13:15 ` Philippe Gerum
2012-07-27 15:53 ` Gilles Chanteperdrix
2012-07-27 16:11 ` Philippe Gerum
2012-07-30 6:42 ` dietmar.schindler
2012-07-30 6:53 ` Gilles Chanteperdrix
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=50128EE5.3090904@xenomai.org \
--to=rpm@xenomai.org \
--cc=dietmar.schindler@manroland-web.com \
--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.