diff options
author | Michael Holzheu <holzheu@de.ibm.com> | 2006-05-09 06:53:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 15:40:48 -0400 |
commit | 4039483fd3065920f035eed39ec59085421c0a4f (patch) | |
tree | fc89410a8cd031c3f71a7319987fa6fc9b09336c /drivers/base/init.c | |
parent | e391553222211e07dfbe2f01c413b4e6d0ae32aa (diff) |
[PATCH] Driver Core: Add /sys/hypervisor when needed
To have a home for all hypervisors, this patch creates /sys/hypervisor.
A new config option SYS_HYPERVISOR is introduced, which should to be set
by architecture dependent hypervisors (e.g. s390 or Xen).
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/init.c')
-rw-r--r-- | drivers/base/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/init.c b/drivers/base/init.c index c648914b9cd..37138154f9e 100644 --- a/drivers/base/init.c +++ b/drivers/base/init.c | |||
@@ -27,6 +27,7 @@ void __init driver_init(void) | |||
27 | buses_init(); | 27 | buses_init(); |
28 | classes_init(); | 28 | classes_init(); |
29 | firmware_init(); | 29 | firmware_init(); |
30 | hypervisor_init(); | ||
30 | 31 | ||
31 | /* These are also core pieces, but must come after the | 32 | /* These are also core pieces, but must come after the |
32 | * core core pieces. | 33 | * core core pieces. |