Skip to content
Commit 17a5beb3 authored by Andy Ross's avatar Andy Ross Committed by Carles Cufí
Browse files

kernel: Predicate _cpus_active on CONFIG_PM



This value isn't used outside of the PM subsystem, so don't build it.

More important than the four bytes of .bss was the use of an
atomic_inc().  Some platforms are forced to use
CONFIG_ATOMIC_OPERATIONS_C (but in almost all cases are single-core
devices that won't use atomics at runtime).  There, this turns into a
function call that pulls in the whole atomics implementation.

Signed-off-by: default avatarAndy Ross <andyross@google.com>
parent 356c650c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment