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>
This commit is contained in:
Luiz Fernando N. Capitulino 2007-10-17 18:04:41 +02:00 • committed by Thomas Gleixner
commit de8aacbe6a
5 changed files with 14 additions and 13 deletions

View file

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