Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219599
b: refs/heads/master
c: 7c84247
h: refs/heads/master
i:
  219597: ce65027
  219595: 1b939d4
  219591: c35ed0d
  219583: b649f8b
v: v3
  • Loading branch information
Paul Mundt committed Oct 27, 2010
1 parent fcf2d9f commit 67af810
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1ba71f7645696020864fe3cea3049befbe50408
refs/heads/master: 7c842470f3ec7457585c277b9c5f535e94796f59
4 changes: 2 additions & 2 deletions trunk/arch/sh/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#include <linux/slab.h>
#include <asm/processor.h>

#ifdef CONFIG_HW_PERF_EVENTS
extern void sh_backtrace(struct pt_regs * const regs, unsigned int depth);

#ifdef CONFIG_HW_PERF_EVENTS
/*
* This will need to be reworked when multiple PMUs are supported.
*/
Expand Down Expand Up @@ -57,7 +57,7 @@ void __exit oprofile_arch_exit(void)
#else
int __init oprofile_arch_init(struct oprofile_operations *ops)
{
pr_info("oprofile: hardware counters not available\n");
ops->backtrace = sh_backtrace;
return -ENODEV;
}
void __exit oprofile_arch_exit(void) {}
Expand Down

0 comments on commit 67af810

Please sign in to comment.