]> err.no Git - linux-2.6/blobdiff - arch/sh/oprofile/op_model_sh7750.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[linux-2.6] / arch / sh / oprofile / op_model_sh7750.c
index 0104e44bc76a3be52352d7de5d9e5cabe37e6a6f..ebee7e24ede9e253cf87f7d78ca5fc35114f848b 100644 (file)
@@ -259,7 +259,7 @@ static struct oprofile_operations sh7750_perf_counter_ops = {
 
 int __init oprofile_arch_init(struct oprofile_operations **ops)
 {
-       if (!(cpu_data->flags & CPU_HAS_PERF_COUNTER))
+       if (!(current_cpu_data.flags & CPU_HAS_PERF_COUNTER))
                return -ENODEV;
 
        sh7750_perf_counter_ops.cpu_type = (char *)get_cpu_subtype();