diff options
author | Tony Luck <tony.luck@intel.com> | 2006-06-23 22:46:23 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-06-23 22:46:23 +0200 |
commit | 8cf60e04a131310199d5776e2f9e915f0c468899 (patch) | |
tree | 373a68e88e6737713a0a5723d552cdeefffff929 /drivers/base/hypervisor.c | |
parent | Pull rework-memory-attribute-aliasing into release branch (diff) | |
parent | [PATCH] fix silly ARM non-EABI build error (diff) | |
download | linux-8cf60e04a131310199d5776e2f9e915f0c468899.tar.xz linux-8cf60e04a131310199d5776e2f9e915f0c468899.zip |
Auto-update from 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 @@ +/* + * hypervisor.c - /sys/hypervisor subsystem. + * + * 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); +} |