summaryrefslogtreecommitdiff
path: root/include/asm-x86/resume-trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/resume-trace.h')
-rw-r--r--include/asm-x86/resume-trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/resume-trace.h b/include/asm-x86/resume-trace.h
index 2557514d7ef6..8d9f0b41ee86 100644
--- a/include/asm-x86/resume-trace.h
+++ b/include/asm-x86/resume-trace.h
@@ -6,7 +6,7 @@
#define TRACE_RESUME(user) \
do { \
if (pm_trace_enabled) { \
- void *tracedata; \
+ const void *tracedata; \
asm volatile(_ASM_MOV_UL " $1f,%0\n" \
".section .tracedata,\"a\"\n" \
"1:\t.word %c1\n\t" \