diff options
Diffstat (limited to 'i386/i386/locore.S')
-rw-r--r-- | i386/i386/locore.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S index 440435bc..0e1462cb 100644 --- a/i386/i386/locore.S +++ b/i386/i386/locore.S @@ -437,7 +437,7 @@ ENTRY(t_page_fault) #else /* MACH_XEN */ movl %cr2,%eax /* get the faulting address */ #endif /* MACH_XEN */ - movl %eax,12(%esp) /* save in esp save slot */ + movl %eax,R_CR2-R_EDI(%esp) /* save in esp save slot */ jmp trap_push_segs /* continue fault */ /* |