x86: convert mm_context_t semaphore to a mutex

[ tglx: arch/x86 adaptation ]

Signed-off-by: Luiz Fernando N. Capitulino <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
Luiz Fernando N. Capitulino 2007-10-17 18:04:41 +02:00 • committed by Thomas Gleixner
commit c7537ab234
3 changed files with 11 additions and 11 deletions

View file

@ -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;