https://github.com/torvalds/linux
Raw File
Tip revision: 3146b39c185f8a436d430132457e84fa1d8f8208 authored by Linus Torvalds on 02 October 2007, 03:24:52 UTC
Linux 2.6.23-rc9
Tip revision: 3146b39
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