Explorar el Código

oprofile: making add_sample_entry() inline

Signed-off-by: Robert Richter <robert.richter@amd.com>
Robert Richter hace 16 años
padre
commit
6368a1f4d9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/oprofile/buffer_sync.c

+ 1 - 1
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);