aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index e4ab2b42bd6f..5666eb9568fc 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1198,9 +1198,9 @@ DEFINE_PER_CPU(int, debug_stack_usage);
1198 1198
1199int is_debug_stack(unsigned long addr) 1199int is_debug_stack(unsigned long addr)
1200{ 1200{
1201 return __get_cpu_var(debug_stack_usage) || 1201 return __this_cpu_read(debug_stack_usage) ||
1202 (addr <= __get_cpu_var(debug_stack_addr) && 1202 (addr <= __this_cpu_read(debug_stack_addr) &&
1203 addr > (__get_cpu_var(debug_stack_addr) - DEBUG_STKSZ)); 1203 addr > (__this_cpu_read(debug_stack_addr) - DEBUG_STKSZ));
1204} 1204}
1205NOKPROBE_SYMBOL(is_debug_stack); 1205NOKPROBE_SYMBOL(is_debug_stack);
1206 1206