* [gentoo-commits] linux-patches r1774 - genpatches-2.6/trunk/2.6.34
@ 2010-08-31 23:47 Mike Pagano (mpagano)
0 siblings, 0 replies; only message in thread
From: Mike Pagano (mpagano) @ 2010-08-31 23:47 UTC (permalink / raw
To: gentoo-commits
Author: mpagano
Date: 2010-08-31 23:47:13 +0000 (Tue, 31 Aug 2010)
New Revision: 1774
Added:
genpatches-2.6/trunk/2.6.34/1700_powerpc-event-scan-fix.patch
Modified:
genpatches-2.6/trunk/2.6.34/0000_README
Log:
powerpc patch to not start event scan if scan rate is zero
Modified: genpatches-2.6/trunk/2.6.34/0000_README
===================================================================
--- genpatches-2.6/trunk/2.6.34/0000_README 2010-08-31 14:36:51 UTC (rev 1773)
+++ genpatches-2.6/trunk/2.6.34/0000_README 2010-08-31 23:47:13 UTC (rev 1774)
@@ -63,6 +63,10 @@
From: http://www.kernel.org
Desc: Linux 2.6.34.6
+Patch: 1700_powerpc-event-scan-fix.patch
+From: http://bugs.gentoo.org/show_bug.cgi?id=335003
+Desc: powerpc patch to not start event scan if scan rate is zero
+
Patch: 2600_synaptic-cap-ID-check-fix.patch
From: http://bugs.gentoo.org/show_bug.cgi?id=328527
Desc: Synaptics capability ID check fix
Added: genpatches-2.6/trunk/2.6.34/1700_powerpc-event-scan-fix.patch
===================================================================
--- genpatches-2.6/trunk/2.6.34/1700_powerpc-event-scan-fix.patch (rev 0)
+++ genpatches-2.6/trunk/2.6.34/1700_powerpc-event-scan-fix.patch 2010-08-31 23:47:13 UTC (rev 1774)
@@ -0,0 +1,15 @@
+--- a/arch/powerpc/kernel/rtasd.c 2010-08-31 19:39:20.956986473 -0400
++++ b/arch/powerpc/kernel/rtasd.c 2010-08-31 19:41:56.965285997 -0400
+@@ -490,6 +490,12 @@ static int __init rtas_init(void)
+ return -ENODEV;
+ }
+
++ if (!rtas_event_scan_rate) {
++ /* Broken firmware: take a rate of zero to mean don't scan */
++ printk(KERN_DEBUG "rtasd: scan rate is 0, not scanning\n");
++ return 0;
++ }
++
+ /* Make room for the sequence number */
+ rtas_error_log_max = rtas_get_error_log_max();
+ rtas_error_log_buffer_max = rtas_error_log_max + sizeof(int);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-31 23:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 23:47 [gentoo-commits] linux-patches r1774 - genpatches-2.6/trunk/2.6.34 Mike Pagano (mpagano)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox