diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-04-27 16:10:11 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-06-25 16:25:32 -0700 |
commit | 1adfa76a95fe4444124a502f7cc858a39d5b8e01 (patch) | |
tree | 9c2d630bfde374e46063e549bc1c53833e42ce86 /drivers | |
parent | 2fc016c5bd8aad2e201cdf71b9fb4573f94775bd (diff) | |
download | op-kernel-dev-1adfa76a95fe4444124a502f7cc858a39d5b8e01.zip op-kernel-dev-1adfa76a95fe4444124a502f7cc858a39d5b8e01.tar.gz |
x86, flags: Rename X86_EFLAGS_BIT1 to X86_EFLAGS_FIXED
Bit 1 in the x86 EFLAGS is always set. Name the macro something that
actually tries to explain what it is all about, rather than being a
tautology.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Link: http://lkml.kernel.org/n/tip-f10rx5vjjm6tfnt8o1wseb3v@git.kernel.org
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/lguest/x86/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/x86/core.c b/drivers/lguest/x86/core.c index f0a3347..5169239 100644 --- a/drivers/lguest/x86/core.c +++ b/drivers/lguest/x86/core.c @@ -700,7 +700,7 @@ void lguest_arch_setup_regs(struct lg_cpu *cpu, unsigned long start) * interrupts are enabled. We always leave interrupts enabled while * running the Guest. */ - regs->eflags = X86_EFLAGS_IF | X86_EFLAGS_BIT1; + regs->eflags = X86_EFLAGS_IF | X86_EFLAGS_FIXED; /* * The "Extended Instruction Pointer" register says where the Guest is |