From: Robert Richter Date: Mon, 29 Dec 2008 17:44:21 +0000 (+0100) Subject: oprofile: making add_sample_entry() inline X-Git-Tag: v2.6.29-rc1~32^2~1^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6368a1f4d99fe9a1990ef3f04ab2d2ce9dad0a7c;p=platform%2Fkernel%2Flinux-exynos.git oprofile: making add_sample_entry() inline Signed-off-by: Robert Richter --- diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c index e61e25f..bf8fcc7 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) #endif -static void add_sample_entry(unsigned long offset, unsigned long event) +static inline void add_sample_entry(unsigned long offset, unsigned long event) { add_event_entry(offset); add_event_entry(event);