#include <linux/debugfs.h>
#include <asm/apic.h>
#include <asm/processor.h>
#include "cpu.h"
static int cpu_debug_show(struct seq_file *m, void *p)
{ … }
static int cpu_debug_open(struct inode *inode, struct file *file)
{ … }
static const struct file_operations dfs_cpu_ops = …;
static int dom_debug_show(struct seq_file *m, void *p)
{ … }
static int dom_debug_open(struct inode *inode, struct file *file)
{ … }
static const struct file_operations dfs_dom_ops = …;
static __init int cpu_init_debugfs(void)
{ … }
late_initcall(cpu_init_debugfs);