diff options
Diffstat (limited to 'arch/powerpc/oprofile/op_model_cell.c')
-rw-r--r-- | arch/powerpc/oprofile/op_model_cell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/oprofile/op_model_cell.c b/arch/powerpc/oprofile/op_model_cell.c index e08e1d7b3dc5..626b29f38304 100644 --- a/arch/powerpc/oprofile/op_model_cell.c +++ b/arch/powerpc/oprofile/op_model_cell.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <asm/system.h> | 37 | #include <asm/system.h> |
38 | 38 | ||
39 | #include "../platforms/cell/interrupt.h" | 39 | #include "../platforms/cell/interrupt.h" |
40 | #include "../platforms/cell/cbe_regs.h" | ||
40 | 41 | ||
41 | #define PPU_CYCLES_EVENT_NUM 1 /* event number for CYCLES */ | 42 | #define PPU_CYCLES_EVENT_NUM 1 /* event number for CYCLES */ |
42 | #define PPU_CYCLES_GRP_NUM 1 /* special group number for identifying | 43 | #define PPU_CYCLES_GRP_NUM 1 /* special group number for identifying |
@@ -130,7 +131,7 @@ static int pm_rtas_token; | |||
130 | static u32 reset_value[NR_PHYS_CTRS]; | 131 | static u32 reset_value[NR_PHYS_CTRS]; |
131 | static int num_counters; | 132 | static int num_counters; |
132 | static int oprofile_running; | 133 | static int oprofile_running; |
133 | static spinlock_t virt_cntr_lock = SPIN_LOCK_UNLOCKED; | 134 | static DEFINE_SPINLOCK(virt_cntr_lock); |
134 | 135 | ||
135 | static u32 ctr_enabled; | 136 | static u32 ctr_enabled; |
136 | 137 | ||