diff options
-rw-r--r-- | drivers/oprofile/buffer_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c index e61e25fda1ad..bf8fcc7163da 100644 --- a/drivers/oprofile/buffer_sync.c +++ b/drivers/oprofile/buffer_sync.c | |||
@@ -382,7 +382,7 @@ static void add_ibs_begin(int cpu, int code, struct mm_struct *mm) | |||
382 | 382 | ||
383 | #endif | 383 | #endif |
384 | 384 | ||
385 | static void add_sample_entry(unsigned long offset, unsigned long event) | 385 | static inline void add_sample_entry(unsigned long offset, unsigned long event) |
386 | { | 386 | { |
387 | add_event_entry(offset); | 387 | add_event_entry(offset); |
388 | add_event_entry(event); | 388 | add_event_entry(event); |