fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / drivers / base / init.c
index fd53f36..3713815 100644 (file)
@@ -2,21 +2,16 @@
  *
  * Copyright (c) 2002-3 Patrick Mochel
  * Copyright (c) 2002-3 Open Source Development Labs
- * 
+ *
  * This file is released under the GPLv2
  *
  */
 
 #include <linux/device.h>
 #include <linux/init.h>
+#include <linux/memory.h>
 
-extern int devices_init(void);
-extern int buses_init(void);
-extern int classes_init(void);
-extern int firmware_init(void);
-extern int platform_bus_init(void);
-extern int system_bus_init(void);
-extern int cpu_dev_init(void);
+#include "base.h"
 
 /**
  *     driver_init - initialize driver model.
@@ -32,11 +27,14 @@ void __init driver_init(void)
        buses_init();
        classes_init();
        firmware_init();
+       hypervisor_init();
 
-       /* These are also core pieces, but must come after the 
+       /* These are also core pieces, but must come after the
         * core core pieces.
         */
        platform_bus_init();
        system_bus_init();
        cpu_dev_init();
+       memory_dev_init();
+       attribute_container_init();
 }