diff options
author | Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> | 2007-10-17 18:04:41 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 20:17:00 +0200 |
commit | c7537ab234bc629e0a3b0d725dd08e6f24768037 (patch) | |
tree | d368089c218964ad504308753f74da78a22323bb /include/asm-x86 | |
parent | 99741faa34b342e6a0b327efb6c28c1a693b7307 (diff) | |
download | linux-stable-c7537ab234bc629e0a3b0d725dd08e6f24768037.tar.gz linux-stable-c7537ab234bc629e0a3b0d725dd08e6f24768037.tar.bz2 linux-stable-c7537ab234bc629e0a3b0d725dd08e6f24768037.zip |
x86: convert mm_context_t semaphore to a mutex
[ tglx: arch/x86 adaptation ]
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Andi Kleen <ak@suse.de>
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_64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/mmu_64.h b/include/asm-x86/mmu_64.h index d2cd4a9d984d..024357c27222 100644 --- a/include/asm-x86/mmu_64.h +++ b/include/asm-x86/mmu_64.h @@ -2,7 +2,7 @@ #define __x86_64_MMU_H #include <linux/spinlock.h> -#include <asm/semaphore.h> +#include <linux/mutex.h> /* * The x86_64 doesn't have a mmu context, but @@ -14,7 +14,7 @@ typedef struct { void *ldt; rwlock_t ldtlock; int size; - struct semaphore sem; + struct mutex lock; void *vdso; } mm_context_t; |