diff options
| -rw-r--r-- | arch/x86/math-emu/get_address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/math-emu/get_address.c b/arch/x86/math-emu/get_address.c index d13cab2aec45..8300db71c2a6 100644 --- a/arch/x86/math-emu/get_address.c +++ b/arch/x86/math-emu/get_address.c | |||
| @@ -157,7 +157,7 @@ static long pm_address(u_char FPU_modrm, u_char segment, | |||
| 157 | addr->selector = PM_REG_(segment); | 157 | addr->selector = PM_REG_(segment); |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | descriptor = FPU_get_ldt_descriptor(segment); | 160 | descriptor = FPU_get_ldt_descriptor(addr->selector); |
| 161 | base_address = SEG_BASE_ADDR(descriptor); | 161 | base_address = SEG_BASE_ADDR(descriptor); |
| 162 | address = base_address + offset; | 162 | address = base_address + offset; |
| 163 | limit = base_address | 163 | limit = base_address |
