public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-fs/cowloop/files: cowloop-3.0-request_queue_t.patch cowloop-3.0-semaphore_h.patch
@ 2009-01-30 21:04 Daniel Black (dragonheart)
  0 siblings, 0 replies; only message in thread
From: Daniel Black (dragonheart) @ 2009-01-30 21:04 UTC (permalink / raw
  To: gentoo-commits

dragonheart    09/01/30 21:04:05

  Added:                cowloop-3.0-request_queue_t.patch
                        cowloop-3.0-semaphore_h.patch
  Log:
  2.6.27 kernel patches as per bug #256527. removed -r2 version as it did not include latest patches. marked 3.0 as x86 stable as I should not have rev bumped it years ago for the patches I added
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-fs/cowloop/files/cowloop-3.0-request_queue_t.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/files/cowloop-3.0-request_queue_t.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/files/cowloop-3.0-request_queue_t.patch?rev=1.1&content-type=text/plain

Index: cowloop-3.0-request_queue_t.patch
===================================================================
--- ./cowloop-3.0/src/cowloop.c.orig	2009-01-31 07:39:38.000000000 +1100
+++ ./cowloop-3.0/src/cowloop.c	2009-01-31 07:42:10.000000000 +1100
@@ -923,7 +923,11 @@
 ** in the queue
 */
 static void
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25))
 cowlo_request(request_queue_t *q)
+#else
+cowlo_request(struct request_queue *q)
+#endif
 {
 	struct request		*req;
 	struct cowloop_device	*cowdev;



1.1                  sys-fs/cowloop/files/cowloop-3.0-semaphore_h.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/files/cowloop-3.0-semaphore_h.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/files/cowloop-3.0-semaphore_h.patch?rev=1.1&content-type=text/plain

Index: cowloop-3.0-semaphore_h.patch
===================================================================
--- cowloop-3.0/src/cowloop.c.orig	2009-01-31 07:31:18.000000000 +1100
+++ cowloop-3.0/src/cowloop.c	2009-01-31 07:32:46.000000000 +1100
@@ -250,7 +250,11 @@
 #include <linux/stat.h>
 #include <linux/vmalloc.h>
 #include <linux/slab.h>
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
 #include <asm/semaphore.h>
+#else
+#include <linux/semaphore.h>
+#endif
 #include <asm/uaccess.h>
 #include <linux/proc_fs.h>
 #include <linux/blkdev.h>






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-30 21:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-30 21:04 [gentoo-commits] gentoo-x86 commit in sys-fs/cowloop/files: cowloop-3.0-request_queue_t.patch cowloop-3.0-semaphore_h.patch Daniel Black (dragonheart)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox