]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/base/hypervisor.c
x86/bugs: Expose x86_spec_ctrl_base directly
[mirror_ubuntu-artful-kernel.git] / drivers / base / hypervisor.c
CommitLineData
4039483f
MH
1/*
2 * hypervisor.c - /sys/hypervisor subsystem.
3 *
f19bfb2c 4 * Copyright (C) IBM Corp. 2006
2d72fc00
GKH
5 * Copyright (C) 2007 Greg Kroah-Hartman <gregkh@suse.de>
6 * Copyright (C) 2007 Novell Inc.
4039483f 7 *
f19bfb2c 8 * This file is released under the GPLv2
4039483f
MH
9 */
10
11#include <linux/kobject.h>
12#include <linux/device.h>
1b6bc32f 13#include <linux/export.h>
4039483f
MH
14#include "base.h"
15
2d72fc00
GKH
16struct kobject *hypervisor_kobj;
17EXPORT_SYMBOL_GPL(hypervisor_kobj);
4039483f
MH
18
19int __init hypervisor_init(void)
20{
2d72fc00
GKH
21 hypervisor_kobj = kobject_create_and_add("hypervisor", NULL);
22 if (!hypervisor_kobj)
23 return -ENOMEM;
24 return 0;
4039483f 25}