Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1b7b56982fdcd9d85effd76f3928cf5d6eb26155
Commit:     1b7b56982fdcd9d85effd76f3928cf5d6eb26155
Parent:     14fca61a9828effbde2c284fbaa3ee22178998e0
Author:     Richard Purdie <[EMAIL PROTECTED]>
AuthorDate: Tue Feb 27 12:09:33 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Fri Mar 2 11:58:58 2007 +0000

    [ARM] 4237/2: oprofile: Always allow backtraces on ARM
    
    Always allow backtrace when using oprofile on ARM, even if a PMU
    isn't present.
    
    Signed-off-by: Richard Purdie <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 arch/arm/oprofile/common.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c
index 0a007b9..a9de727 100644
--- a/arch/arm/oprofile/common.c
+++ b/arch/arm/oprofile/common.c
@@ -131,6 +131,8 @@ int __init oprofile_arch_init(struct oprofile_operations 
*ops)
        struct op_arm_model_spec *spec = NULL;
        int ret = -ENODEV;
 
+       ops->backtrace = arm_backtrace;
+
 #ifdef CONFIG_CPU_XSCALE
        spec = &op_xscale_spec;
 #endif
@@ -161,7 +163,6 @@ int __init oprofile_arch_init(struct oprofile_operations 
*ops)
                ops->start = op_arm_start;
                ops->stop = op_arm_stop;
                ops->cpu_type = op_arm_model->name;
-               ops->backtrace = arm_backtrace;
                printk(KERN_INFO "oprofile: using %s\n", spec->name);
        }
 
-
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