diff options
Diffstat (limited to 'arch/x86/mm/fault_32.c')
-rw-r--r-- | arch/x86/mm/fault_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/fault_32.c b/arch/x86/mm/fault_32.c index 6056c6d71835..ef5ab2b925c4 100644 --- a/arch/x86/mm/fault_32.c +++ b/arch/x86/mm/fault_32.c | |||
@@ -115,7 +115,7 @@ static inline unsigned long get_segment_eip(struct pt_regs *regs, | |||
115 | } | 115 | } |
116 | 116 | ||
117 | /* Decode the code segment base from the descriptor */ | 117 | /* Decode the code segment base from the descriptor */ |
118 | base = get_desc_base((unsigned long *)desc); | 118 | base = get_desc_base((struct desc_struct *)desc); |
119 | 119 | ||
120 | if (seg & (1<<2)) { | 120 | if (seg & (1<<2)) { |
121 | mutex_unlock(¤t->mm->context.lock); | 121 | mutex_unlock(¤t->mm->context.lock); |