summaryrefslogtreecommitdiff
path: root/arch/um/kernel/stacktrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/stacktrace.c')
-rw-r--r--arch/um/kernel/stacktrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/stacktrace.c b/arch/um/kernel/stacktrace.c
index 86df52168bd9..fd3b61b3d4d2 100644
--- a/arch/um/kernel/stacktrace.c
+++ b/arch/um/kernel/stacktrace.c
@@ -27,7 +27,7 @@ void dump_trace(struct task_struct *tsk,
frame = (struct stack_frame *)bp;
while (((long) sp & (THREAD_SIZE-1)) != 0) {
- addr = *sp;
+ addr = READ_ONCE_NOCHECK(*sp);
if (__kernel_text_address(addr)) {
reliable = 0;
if ((unsigned long) sp == bp + sizeof(long)) {