]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
oprofile: remove unused components in struct oprofile_cpu_buffer
authorRobert Richter <robert.richter@amd.com>
Wed, 24 Dec 2008 14:42:58 +0000 (15:42 +0100)
committerRobert Richter <robert.richter@amd.com>
Wed, 7 Jan 2009 16:06:00 +0000 (17:06 +0100)
Signed-off-by: Robert Richter <robert.richter@amd.com>
drivers/oprofile/cpu_buffer.c
drivers/oprofile/cpu_buffer.h

index d92f0020502ef1fd2e8e76aa0259b39e08149dfc..b426ae8ad2e299f6bef2aaf356b8587422d51933 100644 (file)
@@ -97,8 +97,6 @@ int alloc_cpu_buffers(void)
                b->last_is_kernel = -1;
                b->tracing = 0;
                b->buffer_size = buffer_size;
-               b->tail_pos = 0;
-               b->head_pos = 0;
                b->sample_received = 0;
                b->sample_lost_overflow = 0;
                b->backtrace_aborted = 0;
index cd28abc06960b814dedb94f0afb97e2c6ca43b63..65b763ad72da363f11a428080465df167dfe16b5 100644 (file)
@@ -40,8 +40,6 @@ struct op_entry {
 };
 
 struct oprofile_cpu_buffer {
-       volatile unsigned long head_pos;
-       volatile unsigned long tail_pos;
        unsigned long buffer_size;
        struct task_struct *last_task;
        int last_is_kernel;