mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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:
parent
32c464f5d9
commit
de8aacbe6a
5 changed files with 14 additions and 13 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue