]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] OProfile: fix stale comment
authorJohn Levon <levon@movementarian.org>
Sun, 25 May 2003 14:42:54 +0000 (07:42 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 25 May 2003 14:42:54 +0000 (07:42 -0700)
drivers/oprofile/cpu_buffer.c

index 9065b9fd72192224cbe35bf55d88f84819500b72..1a57df385996dd50027296615316462a5496a915 100644 (file)
@@ -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