]> Git Repo - linux.git/blob - drivers/base/hypervisor.c
ext4: teach ext4_statfs() to deal with clusters if bigalloc is enabled
[linux.git] / drivers / base / hypervisor.c
1 /*
2  * hypervisor.c - /sys/hypervisor subsystem.
3  *
4  * Copyright (C) IBM Corp. 2006
5  * Copyright (C) 2007 Greg Kroah-Hartman <[email protected]>
6  * Copyright (C) 2007 Novell Inc.
7  *
8  * This file is released under the GPLv2
9  */
10
11 #include <linux/kobject.h>
12 #include <linux/device.h>
13 #include "base.h"
14
15 struct kobject *hypervisor_kobj;
16 EXPORT_SYMBOL_GPL(hypervisor_kobj);
17
18 int __init hypervisor_init(void)
19 {
20         hypervisor_kobj = kobject_create_and_add("hypervisor", NULL);
21         if (!hypervisor_kobj)
22                 return -ENOMEM;
23         return 0;
24 }
This page took 0.031723 seconds and 4 git commands to generate.