summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/kmemcheck/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/kmemcheck/error.c')
-rw-r--r--arch/x86/mm/kmemcheck/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/kmemcheck/error.c b/arch/x86/mm/kmemcheck/error.c
index 704a37cedddb..dab41876cdd5 100644
--- a/arch/x86/mm/kmemcheck/error.c
+++ b/arch/x86/mm/kmemcheck/error.c
@@ -185,7 +185,7 @@ void kmemcheck_error_save(enum kmemcheck_shadow state,
e->trace.entries = e->trace_entries;
e->trace.max_entries = ARRAY_SIZE(e->trace_entries);
e->trace.skip = 0;
- save_stack_trace_regs(&e->trace, regs);
+ save_stack_trace_regs(regs, &e->trace);
/* Round address down to nearest 16 bytes */
shadow_copy = kmemcheck_shadow_lookup(address
OpenPOWER on IntegriCloud