[PATCH 4/5] OProfile update

John Levon (levon@movementarian.org)
Mon, 26 May 2003 05:27:30 +0100


Fix a stale comment.

diff -Naur -X dontdiff linux-cvs/drivers/oprofile/cpu_buffer.c linux-me/drivers/oprofile/cpu_buffer.c
--- linux-cvs/drivers/oprofile/cpu_buffer.c 2003-05-26 03:20:20.000000000 +0100
+++ linux-me/drivers/oprofile/cpu_buffer.c 2003-05-26 03:24:38.000000000 +0100
@@ -168,10 +168,8 @@
}


-/* 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/