diff options
Diffstat (limited to 'drivers/oprofile/cpu_buffer.c')
-rw-r--r-- | drivers/oprofile/cpu_buffer.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c index ddba9d01f09b..b846af632c81 100644 --- a/drivers/oprofile/cpu_buffer.c +++ b/drivers/oprofile/cpu_buffer.c | |||
@@ -361,8 +361,6 @@ void oprofile_add_sample(struct pt_regs * const regs, unsigned long event) | |||
361 | __oprofile_add_ext_sample(pc, regs, event, is_kernel); | 361 | __oprofile_add_ext_sample(pc, regs, event, is_kernel); |
362 | } | 362 | } |
363 | 363 | ||
364 | #ifdef CONFIG_OPROFILE_IBS | ||
365 | |||
366 | /* | 364 | /* |
367 | * Add samples with data to the ring buffer. | 365 | * Add samples with data to the ring buffer. |
368 | * | 366 | * |
@@ -397,8 +395,6 @@ fail: | |||
397 | cpu_buf->sample_lost_overflow++; | 395 | cpu_buf->sample_lost_overflow++; |
398 | } | 396 | } |
399 | 397 | ||
400 | #endif | ||
401 | |||
402 | void oprofile_add_pc(unsigned long pc, int is_kernel, unsigned long event) | 398 | void oprofile_add_pc(unsigned long pc, int is_kernel, unsigned long event) |
403 | { | 399 | { |
404 | struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(cpu_buffer); | 400 | struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(cpu_buffer); |