aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/oprofile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/oprofile')
-rw-r--r--drivers/oprofile/cpu_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c
index 3958107723fb..2c4d54187b90 100644
--- a/drivers/oprofile/cpu_buffer.c
+++ b/drivers/oprofile/cpu_buffer.c
@@ -277,8 +277,8 @@ void oprofile_add_sample(struct pt_regs * const regs, unsigned long event)
277 277
278#define MAX_IBS_SAMPLE_SIZE 14 278#define MAX_IBS_SAMPLE_SIZE 14
279 279
280void oprofile_add_ibs_sample(struct pt_regs *const regs, 280void oprofile_add_ibs_sample(struct pt_regs * const regs,
281 unsigned int *const ibs_sample, int ibs_code) 281 unsigned int * const ibs_sample, int ibs_code)
282{ 282{
283 int is_kernel = !user_mode(regs); 283 int is_kernel = !user_mode(regs);
284 struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(cpu_buffer); 284 struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(cpu_buffer);