https://github.com/torvalds/linux
Raw File
Tip revision: dbeeb816e805091e7cfc03baf36dc40b4adb2bbd authored by Linus Torvalds on 06 November 2007, 21:57:46 UTC
Linux 2.6.24-rc2
Tip revision: dbeeb81
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