https://github.com/torvalds/linux
Raw File
Tip revision: 3bf8ba38f38d3647368e4edcf7d019f9f8d9184a authored by Linus Torvalds on 24 December 2006, 04:00:32 UTC
Linux 2.6.20-rc2
Tip revision: 3bf8ba3
hypervisor.c
/*
 * hypervisor.c - /sys/hypervisor subsystem.
 *
 * Copyright (C) IBM Corp. 2006
 *
 * This file is released under the GPLv2
 */

#include <linux/kobject.h>
#include <linux/device.h>

#include "base.h"

decl_subsys(hypervisor, NULL, NULL);
EXPORT_SYMBOL_GPL(hypervisor_subsys);

int __init hypervisor_init(void)
{
	return subsystem_register(&hypervisor_subsys);
}
back to top