diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/locore.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S index eb97267..252ecaf 100644 --- a/i386/i386/locore.S +++ b/i386/i386/locore.S @@ -966,6 +966,8 @@ ENTRY(syscall) syscall_entry: pushf /* save flags as soon as possible */ syscall_entry_2: + cld /* clear direction flag */ + pushl %eax /* save system call number */ pushl $0 /* clear trap number slot */ |