diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-06-22 22:51:46 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-22 22:51:46 -0400 |
commit | dbe1ab9514c231c9b062140a107d9dea0eabefcc (patch) | |
tree | 0001c7143cf923fc704215f0a0e54221e9e5cbb9 /drivers/base/hypervisor.c | |
parent | 612eff0e3715a6faff5ba1b74873b99e036c59fe (diff) | |
parent | d588fcbe5a7ba8bba2cebf7799ab2d573717a806 (diff) |
Merge branch 'master' into upstream
Diffstat (limited to 'drivers/base/hypervisor.c')
-rw-r--r-- | drivers/base/hypervisor.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/base/hypervisor.c b/drivers/base/hypervisor.c new file mode 100644 index 000000000000..0c85e9d6a448 --- /dev/null +++ b/drivers/base/hypervisor.c | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * hypervisor.c - /sys/hypervisor subsystem. | ||
3 | * | ||
4 | * This file is released under the GPLv2 | ||
5 | * | ||
6 | */ | ||
7 | |||
8 | #include <linux/kobject.h> | ||
9 | #include <linux/device.h> | ||
10 | |||
11 | #include "base.h" | ||
12 | |||
13 | decl_subsys(hypervisor, NULL, NULL); | ||
14 | EXPORT_SYMBOL_GPL(hypervisor_subsys); | ||
15 | |||
16 | int __init hypervisor_init(void) | ||
17 | { | ||
18 | return subsystem_register(&hypervisor_subsys); | ||
19 | } | ||