aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/apm.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-06-08x86, asm: use bool for bitops and other assembly outputsH. Peter Anvin1-3/+3
The gcc people have confirmed that using "bool" when combined with inline assembly always is treated as a byte-sized operand that can be assumed to be 0 or 1, which is exactly what the SET instruction emits. Change the output types and intermediate variables of as many operations as practical to "bool". Signed-off-by: H. Peter Anvin <hpa@zytor.com> Link: http://lkml.kernel.org/r/1465414726-197858-3-git-send-email-hpa@linux.intel.com Reviewed-by: Andy Lutomirski <luto@kernel.org> Reviewed-by: Borislav Petkov <bp@suse.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
2009-01-29x86: move mach-default/*.h files to asm/Ingo Molnar1-0/+73
We are getting rid of subarchitecture support - move the hook files to asm/. (These are now stale and should be replaced with more explicit runtime mechanisms - but the transition is simpler this way.) Signed-off-by: Ingo Molnar <mingo@elte.hu>