Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
math-emu
/
get_address.c
diff --git
a/kernel/arch/x86/math-emu/get_address.c
b/kernel/arch/x86/math-emu/get_address.c
index
6ef5e99
..
8300db7
100644
(file)
--- a/
kernel/arch/x86/math-emu/get_address.c
+++ b/
kernel/arch/x86/math-emu/get_address.c
@@
-20,7
+20,6
@@
#include <linux/stddef.h>
#include <asm/uaccess.h>
#include <linux/stddef.h>
#include <asm/uaccess.h>
-#include <asm/desc.h>
#include "fpu_system.h"
#include "exception.h"
#include "fpu_system.h"
#include "exception.h"
@@
-158,7
+157,7
@@
static long pm_address(u_char FPU_modrm, u_char segment,
addr->selector = PM_REG_(segment);
}
addr->selector = PM_REG_(segment);
}
- descriptor =
LDT_DESCRIPTOR(PM_REG_(segment)
);
+ descriptor =
FPU_get_ldt_descriptor(addr->selector
);
base_address = SEG_BASE_ADDR(descriptor);
address = base_address + offset;
limit = base_address
base_address = SEG_BASE_ADDR(descriptor);
address = base_address + offset;
limit = base_address