aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2008-10-05 14:52:24 +0000
committerIngo Molnar <[email protected]>2008-10-13 08:33:46 +0000
commit649c6653fa94ec8f3ea32b19c97b790ec4e8e4ac (patch)
treea6c3c0f48147ebcd9eca8d5e0e188f36477705e9 /security/selinux/hooks.c
parentdumpstack: x86: various small unification steps (diff)
downloadkernel-649c6653fa94ec8f3ea32b19c97b790ec4e8e4ac.tar.gz
kernel-649c6653fa94ec8f3ea32b19c97b790ec4e8e4ac.zip
x86: improve UP kernel when CPU-hotplug and SMP is enabled
num_possible_cpus() can be > 1 when disabled CPUs have been accounted. Disabled CPUs are not in the cpu_present_map, so we can use num_present_cpus() as a safe indicator to switch to UP alternatives. Reported-by: Chuck Ebbert <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions