Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
4c7eee27447e1a41808a11be8ce55031e97fdccf
/
.
/
src
/
include
/
smp
/
node.h
blob: dd5e9f97ac137fdfc728c5b2e52888dee5ce70c0 [
file
] [
log
] [
blame
]
#ifndef
_SMP_NODE_H_
#define
_SMP_NODE_H_
#if IS_ENABLED(CONFIG_SMP)
int
boot_cpu
(
void
);
#else
#define
boot_cpu
(
x
)
1
#endif
static
inline
int
is_smp_boot
(
void
)
{
return
IS_ENABLED
(
CONFIG_SMP
)
&&
CONFIG_MAX_CPUS
>
1
;
}
#endif
/* _SMP_NODE_H_ */