summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mmu_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/mmu_64.h')
-rw-r--r--include/asm-x86/mmu_64.h4
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 @@
#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;
OpenPOWER on IntegriCloud