Gentoo Archives: gentoo-commits

From: "Mike Pagano (mpagano)" <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] linux-patches r1774 - genpatches-2.6/trunk/2.6.34
Date: Tue, 31 Aug 2010 23:47:17
Message-Id: 20100831234714.65BFD20051@flycatcher.gentoo.org
1 Author: mpagano
2 Date: 2010-08-31 23:47:13 +0000 (Tue, 31 Aug 2010)
3 New Revision: 1774
4
5 Added:
6 genpatches-2.6/trunk/2.6.34/1700_powerpc-event-scan-fix.patch
7 Modified:
8 genpatches-2.6/trunk/2.6.34/0000_README
9 Log:
10 powerpc patch to not start event scan if scan rate is zero
11
12 Modified: genpatches-2.6/trunk/2.6.34/0000_README
13 ===================================================================
14 --- genpatches-2.6/trunk/2.6.34/0000_README 2010-08-31 14:36:51 UTC (rev 1773)
15 +++ genpatches-2.6/trunk/2.6.34/0000_README 2010-08-31 23:47:13 UTC (rev 1774)
16 @@ -63,6 +63,10 @@
17 From: http://www.kernel.org
18 Desc: Linux 2.6.34.6
19
20 +Patch: 1700_powerpc-event-scan-fix.patch
21 +From: http://bugs.gentoo.org/show_bug.cgi?id=335003
22 +Desc: powerpc patch to not start event scan if scan rate is zero
23 +
24 Patch: 2600_synaptic-cap-ID-check-fix.patch
25 From: http://bugs.gentoo.org/show_bug.cgi?id=328527
26 Desc: Synaptics capability ID check fix
27
28 Added: genpatches-2.6/trunk/2.6.34/1700_powerpc-event-scan-fix.patch
29 ===================================================================
30 --- genpatches-2.6/trunk/2.6.34/1700_powerpc-event-scan-fix.patch (rev 0)
31 +++ genpatches-2.6/trunk/2.6.34/1700_powerpc-event-scan-fix.patch 2010-08-31 23:47:13 UTC (rev 1774)
32 @@ -0,0 +1,15 @@
33 +--- a/arch/powerpc/kernel/rtasd.c 2010-08-31 19:39:20.956986473 -0400
34 ++++ b/arch/powerpc/kernel/rtasd.c 2010-08-31 19:41:56.965285997 -0400
35 +@@ -490,6 +490,12 @@ static int __init rtas_init(void)
36 + return -ENODEV;
37 + }
38 +
39 ++ if (!rtas_event_scan_rate) {
40 ++ /* Broken firmware: take a rate of zero to mean don't scan */
41 ++ printk(KERN_DEBUG "rtasd: scan rate is 0, not scanning\n");
42 ++ return 0;
43 ++ }
44 ++
45 + /* Make room for the sequence number */
46 + rtas_error_log_max = rtas_get_error_log_max();
47 + rtas_error_log_buffer_max = rtas_error_log_max + sizeof(int);