mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
bcea31e2d1
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: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Message-ID: <20240710093718.14552-3-jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>
17 lines
310 B
C
17 lines
310 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/init.h>
|
|
#include <linux/debugfs.h>
|
|
#include <linux/slab.h>
|
|
|
|
#include "xen-ops.h"
|
|
|
|
static struct dentry *d_xen_debug;
|
|
|
|
struct dentry * __init xen_init_debugfs(void)
|
|
{
|
|
if (!d_xen_debug)
|
|
d_xen_debug = debugfs_create_dir("xen", NULL);
|
|
return d_xen_debug;
|
|
}
|
|
|