Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6f4c5bdef2943d9ec074be32c437ca897016aaad
Commit:     6f4c5bdef2943d9ec074be32c437ca897016aaad
Parent:     89d8ab6993e1d9f3c482ee8c862c03c528f696aa
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Tue Apr 24 21:42:20 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Apr 24 22:10:18 2007 +0100

    [MIPS] Fix oprofile logic to physical counter remapping
    
    This did cause oprofile to fail on non-multithreaded systems with more
    than 2 processors such as the BCM1480.
    
    Reported by Manish Lachwani ([EMAIL PROTECTED]).
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/oprofile/op_model_mipsxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/oprofile/op_model_mipsxx.c 
b/arch/mips/oprofile/op_model_mipsxx.c
index 69a8bcf..4f94fa2 100644
--- a/arch/mips/oprofile/op_model_mipsxx.c
+++ b/arch/mips/oprofile/op_model_mipsxx.c
@@ -35,7 +35,7 @@
 #define vpe_id()       smp_processor_id()
 #else
 #define WHAT           0
-#define vpe_id()       smp_processor_id()
+#define vpe_id()       0
 #endif
 
 #define __define_perf_accessors(r, n, np)                              \
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to