i2c-piix4: Increase the intitial delay for the ServerWorks CSB5
[cascardo/linux.git] / drivers / oprofile / buffer_sync.c
index b07ba2a..9304c45 100644 (file)
@@ -491,7 +491,7 @@ typedef enum {
  */
 void sync_buffer(int cpu)
 {
-       struct oprofile_cpu_buffer * cpu_buf = &cpu_buffer[cpu];
+       struct oprofile_cpu_buffer *cpu_buf = &per_cpu(cpu_buffer, cpu);
        struct mm_struct *mm = NULL;
        struct task_struct * new;
        unsigned long cookie = 0;