hypervisor.c 366 B

1234567891011121314151617181920
  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. #include <linux/kobject.h>
  9. #include <linux/device.h>
  10. #include "base.h"
  11. decl_subsys(hypervisor, NULL, NULL);
  12. EXPORT_SYMBOL_GPL(hypervisor_subsys);
  13. int __init hypervisor_init(void)
  14. {
  15. return subsystem_register(&hypervisor_subsys);
  16. }