1 |
Author: psomas |
2 |
Date: 2011-12-02 13:23:30 +0000 (Fri, 02 Dec 2011) |
3 |
New Revision: 2025 |
4 |
|
5 |
Added: |
6 |
genpatches-2.6/trunk/3.0/1011_linux-3.0.12.patch |
7 |
Modified: |
8 |
genpatches-2.6/trunk/3.0/0000_README |
9 |
Log: |
10 |
Linux patch 3.0.12 |
11 |
|
12 |
Modified: genpatches-2.6/trunk/3.0/0000_README |
13 |
=================================================================== |
14 |
--- genpatches-2.6/trunk/3.0/0000_README 2011-11-30 12:50:14 UTC (rev 2024) |
15 |
+++ genpatches-2.6/trunk/3.0/0000_README 2011-12-02 13:23:30 UTC (rev 2025) |
16 |
@@ -83,6 +83,10 @@ |
17 |
From: http://www.kernel.org |
18 |
Desc: Linux 3.0.11 |
19 |
|
20 |
+Patch: 1011_linux-3.0.12.patch |
21 |
+From: http://www.kernel.org |
22 |
+Desc: Linux 3.0.12 |
23 |
+ |
24 |
Patch: 1800_fix-zcache-build.patch |
25 |
From: http://bugs.gentoo.org/show_bug.cgi?id=376325 |
26 |
Desc: Fix zcache build error |
27 |
|
28 |
Added: genpatches-2.6/trunk/3.0/1011_linux-3.0.12.patch |
29 |
=================================================================== |
30 |
--- genpatches-2.6/trunk/3.0/1011_linux-3.0.12.patch (rev 0) |
31 |
+++ genpatches-2.6/trunk/3.0/1011_linux-3.0.12.patch 2011-12-02 13:23:30 UTC (rev 2025) |
32 |
@@ -0,0 +1,45 @@ |
33 |
+diff --git a/Makefile b/Makefile |
34 |
+index eaa96c5..993fe05 100644 |
35 |
+--- a/Makefile |
36 |
++++ b/Makefile |
37 |
+@@ -1,6 +1,6 @@ |
38 |
+ VERSION = 3 |
39 |
+ PATCHLEVEL = 0 |
40 |
+-SUBLEVEL = 11 |
41 |
++SUBLEVEL = 12 |
42 |
+ EXTRAVERSION = |
43 |
+ NAME = Sneaky Weasel |
44 |
+ |
45 |
+diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c |
46 |
+index fb2d0c2..063c630 100644 |
47 |
+--- a/drivers/usb/host/ehci-sched.c |
48 |
++++ b/drivers/usb/host/ehci-sched.c |
49 |
+@@ -1483,15 +1483,10 @@ iso_stream_schedule ( |
50 |
+ |
51 |
+ /* NOTE: assumes URB_ISO_ASAP, to limit complexity/bugs */ |
52 |
+ |
53 |
+- /* find a uframe slot with enough bandwidth. |
54 |
+- * Early uframes are more precious because full-speed |
55 |
+- * iso IN transfers can't use late uframes, |
56 |
+- * and therefore they should be allocated last. |
57 |
+- */ |
58 |
+- next = start; |
59 |
+- start += period; |
60 |
+- do { |
61 |
+- start--; |
62 |
++ /* find a uframe slot with enough bandwidth */ |
63 |
++ next = start + period; |
64 |
++ for (; start < next; start++) { |
65 |
++ |
66 |
+ /* check schedule: enough space? */ |
67 |
+ if (stream->highspeed) { |
68 |
+ if (itd_slot_ok(ehci, mod, start, |
69 |
+@@ -1504,7 +1499,7 @@ iso_stream_schedule ( |
70 |
+ start, sched, period)) |
71 |
+ break; |
72 |
+ } |
73 |
+- } while (start > next); |
74 |
++ } |
75 |
+ |
76 |
+ /* no room in the schedule */ |
77 |
+ if (start == next) { |