Revision 60e66b48ca20819d97ec4851007accc0b013985a authored by Jeff Layton on 11 December 2012, 17:10:16 UTC, committed by Al Viro on 20 December 2012, 23:50:09 UTC
Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 49e09e1
hypervisor.c
/*
* hypervisor.c - /sys/hypervisor subsystem.
*
* Copyright (C) IBM Corp. 2006
* Copyright (C) 2007 Greg Kroah-Hartman <gregkh@suse.de>
* Copyright (C) 2007 Novell Inc.
*
* This file is released under the GPLv2
*/
#include <linux/kobject.h>
#include <linux/device.h>
#include <linux/export.h>
#include "base.h"
struct kobject *hypervisor_kobj;
EXPORT_SYMBOL_GPL(hypervisor_kobj);
int __init hypervisor_init(void)
{
hypervisor_kobj = kobject_create_and_add("hypervisor", NULL);
if (!hypervisor_kobj)
return -ENOMEM;
return 0;
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...