diff options
author | Robert Richter <robert.richter@amd.com> | 2008-12-29 18:44:21 +0100 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-01-07 17:06:47 +0100 |
commit | 6368a1f4d99fe9a1990ef3f04ab2d2ce9dad0a7c (patch) | |
tree | f830decbd97f864219c87b2b3e7a3ee0531e59e7 /drivers/oprofile | |
parent | 8350c78734e67ac1f8bfd4eb14b70ff4d01a9a12 (diff) | |
download | kernel_samsung_espresso10-6368a1f4d99fe9a1990ef3f04ab2d2ce9dad0a7c.zip kernel_samsung_espresso10-6368a1f4d99fe9a1990ef3f04ab2d2ce9dad0a7c.tar.gz kernel_samsung_espresso10-6368a1f4d99fe9a1990ef3f04ab2d2ce9dad0a7c.tar.bz2 |
oprofile: making add_sample_entry() inline
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile')
-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 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); |