[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] x86: remove page.h and processor.h inclusion from asm_defns.h
commit dc436f1f7f5320e053a13306469f67a012a0f273 Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Fri Aug 17 13:52:55 2018 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Fri Aug 17 13:52:55 2018 +0200 x86: remove page.h and processor.h inclusion from asm_defns.h Subsequent changes require this (too wide anyway imo) dependency to be dropped. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/arch/x86/boot/head.S | 1 + xen/arch/x86/x86_64/compat/entry.S | 1 + xen/arch/x86/x86_64/entry.S | 1 + xen/include/asm-x86/asm_defns.h | 3 +-- xen/include/asm-x86/cpuid.h | 1 + xen/include/asm-x86/msr.h | 1 + 6 files changed, 6 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/boot/head.S b/xen/arch/x86/boot/head.S index db19ac6fd8..d78bed394a 100644 --- a/xen/arch/x86/boot/head.S +++ b/xen/arch/x86/boot/head.S @@ -5,6 +5,7 @@ #include <asm/desc.h> #include <asm/fixmap.h> #include <asm/page.h> +#include <asm/processor.h> #include <asm/msr.h> #include <asm/cpufeature.h> #include <public/elfnote.h> diff --git a/xen/arch/x86/x86_64/compat/entry.S b/xen/arch/x86/x86_64/compat/entry.S index c23ad7a272..175c2fe451 100644 --- a/xen/arch/x86/x86_64/compat/entry.S +++ b/xen/arch/x86/x86_64/compat/entry.S @@ -9,6 +9,7 @@ #include <asm/asm_defns.h> #include <asm/apicdef.h> #include <asm/page.h> +#include <asm/processor.h> #include <asm/desc.h> #include <public/xen.h> #include <irq_vectors.h> diff --git a/xen/arch/x86/x86_64/entry.S b/xen/arch/x86/x86_64/entry.S index d6310f12d5..dab8c4f39d 100644 --- a/xen/arch/x86/x86_64/entry.S +++ b/xen/arch/x86/x86_64/entry.S @@ -11,6 +11,7 @@ #include <asm/asm_defns.h> #include <asm/apicdef.h> #include <asm/page.h> +#include <asm/processor.h> #include <public/xen.h> #include <irq_vectors.h> diff --git a/xen/include/asm-x86/asm_defns.h b/xen/include/asm-x86/asm_defns.h index f0733f2b7c..fad5ca5787 100644 --- a/xen/include/asm-x86/asm_defns.h +++ b/xen/include/asm-x86/asm_defns.h @@ -7,9 +7,8 @@ #include <asm/asm-offsets.h> #endif #include <asm/bug.h> -#include <asm/page.h> -#include <asm/processor.h> #include <asm/percpu.h> +#include <asm/x86-defns.h> #include <xen/stringify.h> #include <asm/cpufeature.h> #include <asm/alternative.h> diff --git a/xen/include/asm-x86/cpuid.h b/xen/include/asm-x86/cpuid.h index 00de592c39..f109c6ffb4 100644 --- a/xen/include/asm-x86/cpuid.h +++ b/xen/include/asm-x86/cpuid.h @@ -59,6 +59,7 @@ int init_domain_cpuid_policy(struct domain *d); /* Clamp the CPUID policy to reality. */ void recalculate_cpuid_policy(struct domain *d); +struct vcpu; void guest_cpuid(const struct vcpu *v, uint32_t leaf, uint32_t subleaf, struct cpuid_leaf *res); diff --git a/xen/include/asm-x86/msr.h b/xen/include/asm-x86/msr.h index 72342b77b8..7a061b28e8 100644 --- a/xen/include/asm-x86/msr.h +++ b/xen/include/asm-x86/msr.h @@ -13,6 +13,7 @@ #include <asm/asm_defns.h> #include <asm/cpufeature.h> +#include <asm/processor.h> #define rdmsr(msr,val1,val2) \ __asm__ __volatile__("rdmsr" \ -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |