]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/oprofile/buffer_sync.c
tty: Split tty_port into its own file
[linux-2.6-omap-h63xx.git] / drivers / oprofile / buffer_sync.c
index b07ba2a1411949cf7751d0830617a1ac34013abe..9304c45550790c7e2f1f53833d4370ac051b3f4f 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;