diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-05-09 23:47:42 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-11 10:57:24 +0200 |
commit | 3e0c373749d7eb5b354ac0b043f2b2cdf84eefef (patch) | |
tree | 473870b2f527ce227cb729db35dbe226ce95a7d1 /security/tomoyo | |
parent | 3969c52d4d2fef5a4b9e3ab0e51b3901e1cc8b83 (diff) |
x86: clean up and fix setup_clear/force_cpu_cap handling
setup_force_cpu_cap() only have one user (Xen guest code),
but it should not reuse cleared_cpu_cpus, otherwise it
will have problems on SMP.
Need to have a separate cpu_cpus_set array too, for forced-on
flags, beyond the forced-off flags.
Also need to setup handling before all cpus caps are combined.
[ Impact: fix the forced-set CPU feature flag logic ]
Cc: H. Peter Anvin <hpa@linux.intel.com>
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Yinghai Lu <yinghai.lu@kernel.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions