mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 10:36:51 +07:00
20 lines
334 B
C
20 lines
334 B
C
|
/*
|
||
|
* 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);
|
||
|
}
|