projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux...
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
kernel
/
ldt.c
diff --git
a/arch/x86/kernel/ldt.c
b/arch/x86/kernel/ldt.c
index 71f1d99a635d75dd7f30ee1f1876b91112d2a82c..ec6ef60cbd170b0809d20287a60c226fb8fc25ed 100644
(file)
--- a/
arch/x86/kernel/ldt.c
+++ b/
arch/x86/kernel/ldt.c
@@
-67,8
+67,8
@@
static int alloc_ldt(mm_context_t *pc, int mincount, int reload)
#ifdef CONFIG_SMP
preempt_disable();
load_LDT(pc);
#ifdef CONFIG_SMP
preempt_disable();
load_LDT(pc);
- if (!cpu
s_equal(current->mm->cpu_vm_mask
,
-
cpumask_of_cpu
(smp_processor_id())))
+ if (!cpu
mask_equal(mm_cpumask(current->mm)
,
+
cpumask_of
(smp_processor_id())))
smp_call_function(flush_ldt, current->mm, 1);
preempt_enable();
#else
smp_call_function(flush_ldt, current->mm, 1);
preempt_enable();
#else