diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-01-20 16:24:09 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-02-28 17:48:04 -0500 |
commit | f649e9388cd46ad1634164e56f96ae092ca59e4a (patch) | |
tree | 5c5273e46c268a4cfe1cd7ba0ed9419142239ca1 /arch/x86/kernel | |
parent | 6b21d18ed50c7d145220b0724ea7f2613abf0f95 (diff) | |
download | op-kernel-dev-f649e9388cd46ad1634164e56f96ae092ca59e4a.zip op-kernel-dev-f649e9388cd46ad1634164e56f96ae092ca59e4a.tar.gz |
x86: relocate get/set debugreg fcns to include/asm/debugreg.
Since we already have a debugreg.h header file, move the
assoc. get/set functions to it. In addition to it being the
logical home for them, it has a secondary advantage. The
functions that are moved use BUG(). So we really need to
have linux/bug.h in scope. But asm/processor.h is used about
600 times, vs. only about 15 for debugreg.h -- so adding bug.h
to the latter reduces the amount of time we'll be processing
it during a compile.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index c0f7d68..0d676dd 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -18,6 +18,7 @@ #include <asm/archrandom.h> #include <asm/hypervisor.h> #include <asm/processor.h> +#include <asm/debugreg.h> #include <asm/sections.h> #include <linux/topology.h> #include <linux/cpumask.h> |