projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d211af0
)
x86: entry_64.S - use X86_EFLAGS_IF instead of hardcoded number
author
gorcunov@gmail.com
<gorcunov@gmail.com>
Wed, 26 Nov 2008 19:17:02 +0000
(22:17 +0300)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 27 Nov 2008 12:00:32 +0000
(13:00 +0100)
Impact: cleanup
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Acked-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/entry_64.S
b/arch/x86/kernel/entry_64.S
index 38fcd0517c31728bf5979cd45b6789b27e023f35..1c309d546518220f8c82db49e806d70586d42518 100644
(file)
--- a/
arch/x86/kernel/entry_64.S
+++ b/
arch/x86/kernel/entry_64.S
@@
-194,7
+194,7
@@
ENTRY(native_usergs_sysret64)
pushq %rax /* rsp */
CFI_ADJUST_CFA_OFFSET 8
CFI_REL_OFFSET rsp,0
- pushq $
(1<<9)
/* eflags - interrupts on */
+ pushq $
X86_EFLAGS_IF
/* eflags - interrupts on */
CFI_ADJUST_CFA_OFFSET 8
/*CFI_REL_OFFSET rflags,0*/
pushq $__KERNEL_CS /* cs */