Huang Rui
7e01ebffff
x86/asm: Drop repeated macro of X86_EFLAGS_AC definition
...
We just need one macro of X86_EFLAGS_AC_BIT and X86_EFLAGS_AC.
Signed-off-by: Huang Rui <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Fengguang Wu <[email protected] >
Cc: Fenghua Yu <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Tony Li <[email protected] >
Cc: Tony Luck <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2015-08-28 07:33:34 +02:00
H. Peter Anvin
d1fbefcb3a
x86, processor-flags: Fix the datatypes and add bit number defines
...
The control registers are unsigned long (32 bits on i386, 64 bits on
x86-64), and so make that manifest in the data type for the various
constants. Add defines with a _BIT suffix which defines the bit
number, as opposed to the bit mask.
This should resolve some issues with ~bitmask that Linus discovered.
Reported-by: Linus Torvalds <[email protected] >
Signed-off-by: H. Peter Anvin <[email protected] >
Link: http://lkml.kernel.org/n/[email protected]
2013-06-25 16:26:06 -07:00
H. Peter Anvin
afcbf13fa6
x86: Rename X86_CR4_RDWRGSFS to X86_CR4_FSGSBASE
...
Rename X86_CR4_RDWRGSFS to X86_CR4_FSGSBASE to match the SDM.
Signed-off-by: H. Peter Anvin <[email protected] >
Cc: Marcelo Tosatti <[email protected] >
Cc: Gleb Natapov <[email protected] >
Link: http://lkml.kernel.org/n/[email protected]
2013-06-25 16:26:06 -07:00
H. Peter Anvin
1adfa76a95
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 <[email protected] >
Cc: Rusty Russell <[email protected] >
Cc: Gleb Natapov <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Link: http://lkml.kernel.org/n/[email protected]
2013-06-25 16:25:32 -07:00
David Howells
af170c5061
UAPI: (Scripted) Disintegrate arch/x86/include/asm
...
Signed-off-by: David Howells <[email protected] >
Acked-by: Arnd Bergmann <[email protected] >
Acked-by: Thomas Gleixner <[email protected] >
Acked-by: Michael Kerrisk <[email protected] >
Acked-by: Paul E. McKenney <[email protected] >
Acked-by: Dave Jones <[email protected] >
2012-12-14 22:37:13 +00:00