commit 958c58e8231563e9349e4d8ea56c04c25e1501c0 Author: Eugeniy Meshcheryakov Date: Sat Dec 12 00:56:36 2009 +0100 Do not use condition_codes() on arm It does not exist in recent kernels. Use regs->ARM_cpsr instead, this should work with all versions of linux found in git repo (versions >=2.6.12-rc2). Difference between condition_codes() and regs->ARM_cpsr should not matter for systemtap. diff --git a/runtime/regs.c b/runtime/regs.c index e963aff..61f2f31 100644 --- a/runtime/regs.c +++ b/runtime/regs.c @@ -267,7 +267,7 @@ static const char *processor_modes[]= static void _stp_print_regs(struct pt_regs * regs) { - unsigned long flags = condition_codes(regs); + unsigned long flags = regs->ARM_cpsr; #ifdef CONFIG_SMP _stp_printf(" CPU: %d", smp_processor_id());