diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-10-28 09:54:21 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 09:54:21 -0400 |
commit | 55f052341ff75e5815b1f7f4d2d3b69314ea8712 (patch) | |
tree | 12b2bf8b6cd272305bddf39f542ddbf5230d90bc /arch/arm/oprofile/init.c | |
parent | 7c5b3fc20807279d8f8e78f1e2ef275128668796 (diff) |
[ARM] 3/4 Rename common oprofile code
The common oprofile code assumes the name "PMU" (from Intel's
performance management unit). This is misleading when we
start adding oprofile support for other machine types which
don't use the same terminology. Call it op_arm_* instead of
pmu_*.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/oprofile/init.c')
-rw-r--r-- | arch/arm/oprofile/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/oprofile/init.c b/arch/arm/oprofile/init.c index d315a3a86c86..ccd8c54934a2 100644 --- a/arch/arm/oprofile/init.c +++ b/arch/arm/oprofile/init.c | |||
@@ -17,7 +17,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) | |||
17 | int ret = -ENODEV; | 17 | int ret = -ENODEV; |
18 | 18 | ||
19 | #ifdef CONFIG_CPU_XSCALE | 19 | #ifdef CONFIG_CPU_XSCALE |
20 | ret = pmu_init(ops, &op_xscale_spec); | 20 | ret = op_arm_init(ops, &op_xscale_spec); |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | ops->backtrace = arm_backtrace; | 23 | ops->backtrace = arm_backtrace; |
@@ -28,6 +28,6 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) | |||
28 | void oprofile_arch_exit(void) | 28 | void oprofile_arch_exit(void) |
29 | { | 29 | { |
30 | #ifdef CONFIG_CPU_XSCALE | 30 | #ifdef CONFIG_CPU_XSCALE |
31 | pmu_exit(); | 31 | op_arm_exit(); |
32 | #endif | 32 | #endif |
33 | } | 33 | } |