]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/memory.h
[MIPS] generic txx9 gpio support
[linux-2.6-omap-h63xx.git] / include / linux / memory.h
index 33f0ff0cf63483cc776d4878d1ec24f1ab45e437..f80e0e331cb7e0f923feed2c26bb2cc03bd28e22 100644 (file)
@@ -18,8 +18,7 @@
 #include <linux/sysdev.h>
 #include <linux/node.h>
 #include <linux/compiler.h>
-
-#include <asm/semaphore.h>
+#include <linux/mutex.h>
 
 struct memory_block {
        unsigned long phys_index;
@@ -30,7 +29,7 @@ struct memory_block {
         * created long after the critical areas during
         * initialization.
         */
-       struct semaphore state_sem;
+       struct mutex state_mutex;
        int phys_device;                /* to which fru does this belong? */
        void *hw;                       /* optional pointer to fw/hw data */
        int (*phys_callback)(struct memory_block *);