summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Levon <levon@movementarian.org>2003-05-25 07:42:54 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-25 07:42:54 -0700
commitaacb2a25544346be38dc39977d731c603a3e7d2d (patch)
treebacdf74e2493b29624d4fa7ef09e46d54a72e091
parentfed4d7bd949f5c4437f63e64f4dee4dd4d59144b (diff)
[PATCH] OProfile: fix stale comment
-rw-r--r--drivers/oprofile/cpu_buffer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c
index 9065b9fd7219..1a57df385996 100644
--- a/drivers/oprofile/cpu_buffer.c
+++ b/drivers/oprofile/cpu_buffer.c
@@ -168,10 +168,8 @@ void oprofile_add_sample(unsigned long eip, unsigned int is_kernel,
}
-/* resets the cpu buffer to a sane state - should be called with
- * cpu_buf->int_lock held
- */
-void cpu_buffer_reset(struct oprofile_cpu_buffer *cpu_buf)
+/* Resets the cpu buffer to a sane state. */
+void cpu_buffer_reset(struct oprofile_cpu_buffer * cpu_buf)
{
/* reset these to invalid values; the next sample
* collected will populate the buffer with proper