diff options
author | Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> | 2007-10-17 12:04:41 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:17:00 -0400 |
commit | c7537ab234bc629e0a3b0d725dd08e6f24768037 (patch) | |
tree | d368089c218964ad504308753f74da78a22323bb /include/asm-x86 | |
parent | 99741faa34b342e6a0b327efb6c28c1a693b7307 (diff) |
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 @@ | |||
2 | #define __x86_64_MMU_H | 2 | #define __x86_64_MMU_H |
3 | 3 | ||
4 | #include <linux/spinlock.h> | 4 | #include <linux/spinlock.h> |
5 | #include <asm/semaphore.h> | 5 | #include <linux/mutex.h> |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * The x86_64 doesn't have a mmu context, but | 8 | * The x86_64 doesn't have a mmu context, but |
@@ -14,7 +14,7 @@ typedef struct { | |||
14 | void *ldt; | 14 | void *ldt; |
15 | rwlock_t ldtlock; | 15 | rwlock_t ldtlock; |
16 | int size; | 16 | int size; |
17 | struct semaphore sem; | 17 | struct mutex lock; |
18 | void *vdso; | 18 | void *vdso; |
19 | } mm_context_t; | 19 | } mm_context_t; |
20 | 20 | ||