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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Apr 2011 20:16:05 +0000 (16:16 -0400)
commit2f3a80a5e10b4988875c45035ee203d7dcf2bddb
tree18f1ccbc1212653d5d4b3544dc760ccf97683f2c
parente021335d8200fc22bde145d192fdcb04467f2d65
x86, mwait: Move mwait constants to a common header file

commit bc83cccc761953f878088cdfa682de0970b5561f upstream.

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

[PG: required for cherry pick of ce5f68246b - to avoid dup. mwait
fields in smpboot.c; drop intel_idle.c chunk, as 34 doesnt have it]

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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/include/asm/mwait.h [new file with mode: 0644]
arch/x86/kernel/acpi/cstate.c
drivers/acpi/acpi_pad.c