diff options
-rw-r--r-- | arch/x86/kernel/ftrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c index 762222ad1387..d98b5a8ecf4c 100644 --- a/arch/x86/kernel/ftrace.c +++ b/arch/x86/kernel/ftrace.c | |||
@@ -56,6 +56,7 @@ static int push_return_trace(unsigned long ret, unsigned long long time, | |||
56 | return -EBUSY; | 56 | return -EBUSY; |
57 | 57 | ||
58 | index = ++ti->curr_ret_stack; | 58 | index = ++ti->curr_ret_stack; |
59 | barrier(); | ||
59 | ti->ret_stack[index].ret = ret; | 60 | ti->ret_stack[index].ret = ret; |
60 | ti->ret_stack[index].func = func; | 61 | ti->ret_stack[index].func = func; |
61 | ti->ret_stack[index].calltime = time; | 62 | ti->ret_stack[index].calltime = time; |