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 the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
kernel
/
step.c
diff --git
a/kernel/arch/x86/kernel/step.c
b/kernel/arch/x86/kernel/step.c
index
0ccb53a
..
c9a0738
100644
(file)
--- a/
kernel/arch/x86/kernel/step.c
+++ b/
kernel/arch/x86/kernel/step.c
@@
-18,6
+18,7
@@
unsigned long convert_ip_to_linear(struct task_struct *child, struct pt_regs *re
return addr;
}
+#ifdef CONFIG_MODIFY_LDT_SYSCALL
/*
* We'll assume that the code segments in the GDT
* are all zero-based. That is largely true: the
@@
-45,6
+46,7
@@
unsigned long convert_ip_to_linear(struct task_struct *child, struct pt_regs *re
}
mutex_unlock(&child->mm->context.lock);
}
+#endif
return addr;
}