diff options
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/kernel/kprobes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/kernel/kprobes.c b/arch/avr32/kernel/kprobes.c index f820e9f25520..a94ece4a72c8 100644 --- a/arch/avr32/kernel/kprobes.c +++ b/arch/avr32/kernel/kprobes.c | |||
@@ -104,7 +104,7 @@ static void __kprobes resume_execution(struct kprobe *p, struct pt_regs *regs) | |||
104 | 104 | ||
105 | static void __kprobes set_current_kprobe(struct kprobe *p) | 105 | static void __kprobes set_current_kprobe(struct kprobe *p) |
106 | { | 106 | { |
107 | __get_cpu_var(current_kprobe) = p; | 107 | __this_cpu_write(current_kprobe, p); |
108 | } | 108 | } |
109 | 109 | ||
110 | static int __kprobes kprobe_handler(struct pt_regs *regs) | 110 | static int __kprobes kprobe_handler(struct pt_regs *regs) |