[PATCH] x86: Clean up x86 control register and MSR macros (corrected)
authorH. Peter Anvin <hpa@zytor.com>
Wed, 2 May 2007 17:27:12 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:12 +0000 (19:27 +0200)
commit4bc5aa91fb1e544ad37805520030a0d9fc6e11d3
tree207870aad2f53fcec914ea5084de4fdfe1a02a23
parentb6e3590f8145c77b8fcef3247e2412335221412f
[PATCH] x86: Clean up x86 control register and MSR macros (corrected)

This patch is based on Rusty's recent cleanup of the EFLAGS-related
macros; it extends the same kind of cleanup to control registers and
MSRs.

It also unifies these between i386 and x86-64; at least with regards
to MSRs, the two had definitely gotten out of sync.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-i386/Kbuild
include/asm-i386/msr-index.h [new file with mode: 0644]
include/asm-i386/msr.h
include/asm-i386/processor-flags.h
include/asm-i386/processor.h
include/asm-x86_64/Kbuild
include/asm-x86_64/msr-index.h [new file with mode: 0644]
include/asm-x86_64/msr.h
include/asm-x86_64/processor-flags.h
include/asm-x86_64/processor.h