Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79898
b: refs/heads/master
c: a46ff73
h: refs/heads/master
v: v3
  • Loading branch information
Roland McGrath authored and Ingo Molnar committed Jan 30, 2008
1 parent 40b2427 commit ed85840
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 742fa54a62be6a263df14a553bf832724471dfbe
refs/heads/master: a46ff73d53f011de1dfc1983b05db2c04d193713
3 changes: 2 additions & 1 deletion trunk/arch/x86/kernel/setup64.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ void syscall_init(void)
#endif

/* Flags to clear on syscall */
wrmsrl(MSR_SYSCALL_MASK, EF_TF|EF_DF|EF_IE|0x3000);
wrmsrl(MSR_SYSCALL_MASK,
X86_EFLAGS_TF|X86_EFLAGS_DF|X86_EFLAGS_IF|X86_EFLAGS_IOPL);
}

void __cpuinit check_efer(void)
Expand Down

0 comments on commit ed85840

Please sign in to comment.