summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-11-26 12:02:53 +0100
committerRobert Richter <robert.richter@amd.com>2008-12-10 14:20:03 +0100
commit58494487581cb143a0d763e3056a894d5009d60a (patch)
treec6467bdfd907d8674d51a377b4d05e9e1e7a7a2d
parentfd13f6c85144bb2026c534a35be1d7cb7628a64a (diff)
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>
-rw-r--r--include/linux/oprofile.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h
index 5231861f357..1ce9fe572e5 100644
--- a/include/linux/oprofile.h
+++ b/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);