rpms/kernel/devel linux-2.6-ppc-perfctr-oops-fix.patch,1.1,1.2

David Woodhouse dwmw2 at fedoraproject.org
Wed Aug 5 21:08:27 UTC 2009


Author: dwmw2

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3301

Modified Files:
	linux-2.6-ppc-perfctr-oops-fix.patch 
Log Message:
Fix perfctr match

linux-2.6-ppc-perfctr-oops-fix.patch:
 mpc7450-pmu.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6-ppc-perfctr-oops-fix.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-ppc-perfctr-oops-fix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- linux-2.6-ppc-perfctr-oops-fix.patch	1 Aug 2009 13:31:25 -0000	1.1
+++ linux-2.6-ppc-perfctr-oops-fix.patch	5 Aug 2009 21:08:26 -0000	1.2
@@ -7,7 +7,7 @@ index 75ff47f..ea383c1 100644
  static int init_mpc7450_pmu(void)
  {
 -	if (strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/7450"))
-+	if (cur_cpu_spec->oprofile_cpu_type &&
++	if (!cur_cpu_spec->oprofile_cpu_type ||
 +	    strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/7450"))
  		return -ENODEV;
  




More information about the scm-commits mailing list