aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-07 14:33:34 +0000
committerTony Luck <tony.luck@intel.com>2010-09-23 14:28:34 -0700
commit383f9f1741cd03687303f82543bbae11935a2ad6 (patch)
tree69fe750e14c8dd26b0c538e8daba38d7ab90ac15 /arch/ia64
parent3e6b1b25a92df39d2b619ed3cf74322ddef6800e (diff)
downloadkernel_samsung_crespo-383f9f1741cd03687303f82543bbae11935a2ad6.zip
kernel_samsung_crespo-383f9f1741cd03687303f82543bbae11935a2ad6.tar.gz
kernel_samsung_crespo-383f9f1741cd03687303f82543bbae11935a2ad6.tar.bz2
[IA64] salinfo: sema_init instead of init_MUTEX
Get rid of init_MUTEX[_LOCKED]() and use sema_init() instead. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kernel/salinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/salinfo.c b/arch/ia64/kernel/salinfo.c
index aa8b5fa..45d7543 100644
--- a/arch/ia64/kernel/salinfo.c
+++ b/arch/ia64/kernel/salinfo.c
@@ -642,7 +642,7 @@ salinfo_init(void)
for (i = 0; i < ARRAY_SIZE(salinfo_log_name); i++) {
data = salinfo_data + i;
data->type = i;
- init_MUTEX(&data->mutex);
+ sema_init(&data->mutex, 1);
dir = proc_mkdir(salinfo_log_name[i], salinfo_dir);
if (!dir)
continue;