All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] [PATCH, Xenomai 2.5.6]
@ 2012-07-27 12:45 dietmar.schindler
  2012-07-27 12:51 ` Philippe Gerum
  2012-07-27 15:53 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 14+ messages in thread
From: dietmar.schindler @ 2012-07-27 12:45 UTC (permalink / raw)
  To: xenomai

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.

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
________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-08-01 13:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-27 12:45 [Xenomai] [PATCH, Xenomai 2.5.6] dietmar.schindler
2012-07-27 12:51 ` Philippe Gerum
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

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.