aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/memory.h')
-rw-r--r--include/linux/memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/memory.h b/include/linux/memory.h
index 54d7866d9c0e..f80e0e331cb7 100644
--- a/include/linux/memory.h
+++ b/include/linux/memory.h
@@ -18,7 +18,7 @@
18#include <linux/sysdev.h> 18#include <linux/sysdev.h>
19#include <linux/node.h> 19#include <linux/node.h>
20#include <linux/compiler.h> 20#include <linux/compiler.h>
21#include <linux/semaphore.h> 21#include <linux/mutex.h>
22 22
23struct memory_block { 23struct memory_block {
24 unsigned long phys_index; 24 unsigned long phys_index;
@@ -29,7 +29,7 @@ struct memory_block {
29 * created long after the critical areas during 29 * created long after the critical areas during
30 * initialization. 30 * initialization.
31 */ 31 */
32 struct semaphore state_sem; 32 struct mutex state_mutex;
33 int phys_device; /* to which fru does this belong? */ 33 int phys_device; /* to which fru does this belong? */
34 void *hw; /* optional pointer to fw/hw data */ 34 void *hw; /* optional pointer to fw/hw data */
35 int (*phys_callback)(struct memory_block *); 35 int (*phys_callback)(struct memory_block *);