]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9baa2ddb326e5cac43b224bff44d52d30caee95e
tree32b2ab4495b28b8d579ad35926d96eeee1ccd0aa
parent9356ab735f13fcaf9882dc13a38d7b8e46315b24
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