Gentoo Archives: gentoo-commits

From: "Daniel Black (dragonheart)" <dragonheart@g.o>
To: gentoo-commits@l.g.o
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:08
Message-Id: E1LT0X0-0002I8-03@stork.gentoo.org
1 dragonheart 09/01/30 21:04:05
2
3 Added: cowloop-3.0-request_queue_t.patch
4 cowloop-3.0-semaphore_h.patch
5 Log:
6 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
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sys-fs/cowloop/files/cowloop-3.0-request_queue_t.patch
11
12 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
13 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
14
15 Index: cowloop-3.0-request_queue_t.patch
16 ===================================================================
17 --- ./cowloop-3.0/src/cowloop.c.orig 2009-01-31 07:39:38.000000000 +1100
18 +++ ./cowloop-3.0/src/cowloop.c 2009-01-31 07:42:10.000000000 +1100
19 @@ -923,7 +923,11 @@
20 ** in the queue
21 */
22 static void
23 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25))
24 cowlo_request(request_queue_t *q)
25 +#else
26 +cowlo_request(struct request_queue *q)
27 +#endif
28 {
29 struct request *req;
30 struct cowloop_device *cowdev;
31
32
33
34 1.1 sys-fs/cowloop/files/cowloop-3.0-semaphore_h.patch
35
36 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/cowloop/files/cowloop-3.0-semaphore_h.patch?rev=1.1&view=markup
37 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
38
39 Index: cowloop-3.0-semaphore_h.patch
40 ===================================================================
41 --- cowloop-3.0/src/cowloop.c.orig 2009-01-31 07:31:18.000000000 +1100
42 +++ cowloop-3.0/src/cowloop.c 2009-01-31 07:32:46.000000000 +1100
43 @@ -250,7 +250,11 @@
44 #include <linux/stat.h>
45 #include <linux/vmalloc.h>
46 #include <linux/slab.h>
47 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
48 #include <asm/semaphore.h>
49 +#else
50 +#include <linux/semaphore.h>
51 +#endif
52 #include <asm/uaccess.h>
53 #include <linux/proc_fs.h>
54 #include <linux/blkdev.h>