1 /* 2 * hypervisor.c - /sys/hypervisor subsystem. 3 * 4 * Copyright (C) IBM Corp. 2006 5 * 6 * This file is released under the GPLv2 7 */ 8 9 #include <linux/kobject.h> 10 #include <linux/device.h> 11 12 #include "base.h" 13 14 decl_subsys(hypervisor, NULL, NULL); 15 EXPORT_SYMBOL_GPL(hypervisor_subsys); 16 17 int __init hypervisor_init(void) 18 { 19 return subsystem_register(&hypervisor_subsys); 20 } 21