public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Daniel Black (dragonheart)" <dragonheart@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/cowloop/files: cowloop-3.0-request_queue_t.patch cowloop-3.0-semaphore_h.patch
Date: Fri, 30 Jan 2009 21:04:06 +0000	[thread overview]
Message-ID: <E1LT0X0-0002I8-03@stork.gentoo.org> (raw)

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>






                 reply	other threads:[~2009-01-30 21:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1LT0X0-0002I8-03@stork.gentoo.org \
    --to=dragonheart@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox