x86/cpuid: Drop the include of public/sysctl.h

Following the removal of XEN_SYSCTL_get_cpu_levelling_caps, asm/cpuid.h
doesn't need to include public/sysctl.h, but several other header files were
picking up their includes transitively through asm/cpuid.h.  Untangle them.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2026-04-04 12:20:11 +02:00
1 parent f962ef76bc
commit 33ceaa2827
4 files changed
+6 -2

No files matched your search

-2
View File
@@ -7,8 +7,6 @@
#include <xen/kernel.h>
#include <xen/percpu.h>
#include <public/sysctl.h>
extern const uint32_t known_features[FSCAPINTS];
/*
+2
View File
@@ -19,6 +19,8 @@
#include <asm/x86_emulate.h>
struct pirq; /* needed by pi_update_irte */
struct hvm_hw_cpu;
struct xen_domctl_createdomain;
#ifdef CONFIG_HVM_FEP
/* Permit use of the Forced Emulation Prefix in HVM guests */
+2
View File
@@ -12,6 +12,8 @@
#include <xen/tasklet.h>
#include <asm/hvm/vpt.h>
#include <public/hvm/save.h>
#define vcpu_vlapic(x) (&(x)->arch.hvm.vlapic)
#define vlapic_vcpu(x) (container_of((x), struct vcpu, arch.hvm.vlapic))
#define const_vlapic_vcpu(x) (container_of((x), const struct vcpu, \
+2
View File
@@ -12,6 +12,8 @@
#include <xen/list.h>
#include <xen/rwlock.h>
#include <public/hvm/save.h>
/*
* Abstract layer of periodic time, one short time.
*/
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.