repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
soc/intel/xeon_sp/spr: Drop microcode constraints
[coreboot2.git]
/
src
/
include
/
smp
/
node.h
blob
8f3d14fde1de52999f5e104b16fc349968774424
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef _SMP_NODE_H_
4
#define _SMP_NODE_H_
5
6
#if CONFIG(SMP)
7
int
boot_cpu
(
void
);
8
#else
9
#define boot_cpu(x) 1
10
#endif
11
12
static
inline
int
is_smp_boot
(
void
)
13
{
14
return
CONFIG
(
SMP
) &&
CONFIG_MAX_CPUS
>
1
;
15
}
16
17
#endif
/* _SMP_NODE_H_ */