aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>2007-10-17 18:04:41 +0200
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-17 20:17:05 +0200
commitde8aacbe6a3f3dd7104da09a5535232cd385fdd6 (patch)
tree89c6dc0070ab30b4e6ecaa6269bfd54320a400c7 /include/asm-x86
parent32c464f5d9701db45bc1673288594e664065388e (diff)
downloadkernel_samsung_smdk4412-de8aacbe6a3f3dd7104da09a5535232cd385fdd6.zip
kernel_samsung_smdk4412-de8aacbe6a3f3dd7104da09a5535232cd385fdd6.tar.gz
kernel_samsung_smdk4412-de8aacbe6a3f3dd7104da09a5535232cd385fdd6.tar.bz2
x86: convert mm_context_t semaphore to a mutex
convert mm_context_t semaphore to a mutex. Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/mmu_32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/mmu_32.h b/include/asm-x86/mmu_32.h
index 8358dd3..5e249c5 100644
--- a/include/asm-x86/mmu_32.h
+++ b/include/asm-x86/mmu_32.h
@@ -1,7 +1,7 @@
#ifndef __i386_MMU_H
#define __i386_MMU_H
-#include <asm/semaphore.h>
+#include <linux/mutex.h>
/*
* The i386 doesn't have a mmu context, but
* we put the segment information here.
@@ -10,7 +10,7 @@
*/
typedef struct {
int size;
- struct semaphore sem;
+ struct mutex lock;
void *ldt;
void *vdso;
} mm_context_t;