aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/oprofile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/oprofile')
-rw-r--r--arch/x86/oprofile/nmi_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index fb4902bc6f14..4108d02c5292 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -551,7 +551,7 @@ int __init op_nmi_init(struct oprofile_operations *ops)
551 } 551 }
552 552
553 /* default values, can be overwritten by model */ 553 /* default values, can be overwritten by model */
554 __get_cpu_var(switch_index) = 0; 554 __raw_get_cpu_var(switch_index) = 0;
555 ops->create_files = nmi_create_files; 555 ops->create_files = nmi_create_files;
556 ops->setup = nmi_setup; 556 ops->setup = nmi_setup;
557 ops->shutdown = nmi_shutdown; 557 ops->shutdown = nmi_shutdown;