mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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:
parent
99741faa34
commit
c7537ab234
3 changed files with 11 additions and 11 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue