x86, mwait: Move mwait constants to a common header file
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 17 Sep 2010 22:36:40 +0000 (15:36 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 17 Sep 2010 22:36:40 +0000 (15:36 -0700)
commitbc83cccc761953f878088cdfa682de0970b5561f
tree32b2ab4495b28b8d579ad35926d96eeee1ccd0aa
parent49553c2ef88749dd502687f4eb9c258bb10a4f44
x86, mwait: Move mwait constants to a common header file

We have MWAIT constants spread across three different .c files, for no
good reason.  Move them all into a common header file.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Reviewed-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Len Brown <lenb@kernel.org>
LKML-Reference: <tip-*@git.kernel.org>
arch/x86/include/asm/mwait.h [new file with mode: 0644]
arch/x86/kernel/acpi/cstate.c
drivers/acpi/acpi_pad.c
drivers/idle/intel_idle.c