summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/sysenter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/sysenter.c')
-rw-r--r--src/kernel/arch/i386/sysenter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/sysenter.c b/src/kernel/arch/i386/sysenter.c
index f3f5987..a7c7123 100644
--- a/src/kernel/arch/i386/sysenter.c
+++ b/src/kernel/arch/i386/sysenter.c
@@ -1,12 +1,12 @@
#include <kernel/arch/generic.h>
#include <kernel/proc.h>
-struct registers_pushad _sysexit_regs; // a hack
+struct registers _sysexit_regs; // a hack
extern void _sysexit_real();
void sysexit(struct registers regs) {
- _sysexit_regs = (struct registers_pushad) {
+ _sysexit_regs = (struct registers) {
.eax = regs.eax,
.ebx = regs.ebx,
.ebp = regs.ebp,