浏览代码

oprofile: update comment for oprofile_add_sample()

The cpu argument is no longer part of the parameter list.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Robert Richter 17 年之前
父节点
当前提交
5849448758
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      include/linux/oprofile.h

+ 1 - 2
include/linux/oprofile.h

@@ -86,8 +86,7 @@ int oprofile_arch_init(struct oprofile_operations * ops);
 void oprofile_arch_exit(void);
 
 /**
- * Add a sample. This may be called from any context. Pass
- * smp_processor_id() as cpu.
+ * Add a sample. This may be called from any context.
  */
 void oprofile_add_sample(struct pt_regs * const regs, unsigned long event);