[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    ia64: Fix perfmon initialization bug (patch by Stephane Eranian).
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2002-09-25 21:06:44
[Download RAW message or body]

ChangeSet 1.573.35.3, 2002/09/25 14:06:44-07:00, davidm@wailua.hpl.hp.com

	ia64: Fix perfmon initialization bug (patch by Stephane Eranian).


# This patch includes the following deltas:
#	           ChangeSet	1.573.35.2 -> 1.573.35.3
#	arch/ia64/kernel/perfmon.c	1.28    -> 1.29   
#

 perfmon.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
--- a/arch/ia64/kernel/perfmon.c	Mon Oct 28 15:11:15 2002
+++ b/arch/ia64/kernel/perfmon.c	Mon Oct 28 15:11:15 2002
@@ -4225,7 +4225,7 @@
 	 */
 	for (i=1; (pfm_pmc_desc[i].type & PFM_REG_END) == 0;  i++) {
 		if ((pfm_pmc_desc[i].type & PFM_REG_IMPL) == 0) continue;
-		ia64_set_pmc(i, PMC_DFL_VAL(i));
+		ia64_set_pmc(i, pfm_pmc_desc[i].default_value);
 	}
 	for (i=0; (pfm_pmd_desc[i].type & PFM_REG_END) == 0; i++) {
 		if ((pfm_pmd_desc[i].type & PFM_REG_IMPL) == 0) continue;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic