Commit bcea31e2 authored by Juergen Gross's avatar Juergen Gross
Browse files

x86/xen: eliminate some private header files



Under arch/x86/xen there is one large private header file xen-ops.h
containing most of the Xen-private x86 related declarations, and then
there are several small headers with a handful of declarations each.

Merge the small headers into xen-ops.h.

While doing that, move the declaration of xen_fifo_events from
xen-ops.h into include/xen/events.h where it should have been from the
beginning.

Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
Reviewed-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
Message-ID: <20240710093718.14552-3-jgross@suse.com>
Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent 337c628a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -10,8 +10,6 @@
#include <xen/xen.h>
#include <xen/interface/physdev.h>
#include "xen-ops.h"
#include "pmu.h"
#include "smp.h"

static unsigned int xen_io_apic_read(unsigned apic, unsigned reg)
{
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
#include <linux/debugfs.h>
#include <linux/slab.h>

#include "debugfs.h"
#include "xen-ops.h"

static struct dentry *d_xen_debug;

arch/x86/xen/debugfs.h

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _XEN_DEBUGFS_H
#define _XEN_DEBUGFS_H

struct dentry * __init xen_init_debugfs(void);

#endif /* _XEN_DEBUGFS_H */
+0 −2
Original line number Diff line number Diff line
@@ -20,8 +20,6 @@
#include <asm/setup.h>

#include "xen-ops.h"
#include "smp.h"
#include "pmu.h"

EXPORT_SYMBOL_GPL(hypercall_page);

+0 −2
Original line number Diff line number Diff line
@@ -28,8 +28,6 @@
#include <asm/xen/page.h>

#include "xen-ops.h"
#include "mmu.h"
#include "smp.h"

static unsigned long shared_info_pfn;

Loading