add-vmcore: add nodemask_t's size and NR_FREE_PAGES's value to vmcoreinfo_data
[safe/jmp/linux-2.6] / include / linux / attribute_container.h
index ee83fe6..8ff2749 100644 (file)
 
 #include <linux/device.h>
 #include <linux/list.h>
-#include <linux/spinlock.h>
+#include <linux/klist.h>
 
 struct attribute_container {
        struct list_head        node;
-       struct list_head        containers;
-       spinlock_t              containers_lock;
+       struct klist            containers;
        struct class            *class;
        struct class_device_attribute **attrs;
        int (*match)(struct attribute_container *, struct device *);