Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
LISP: make TTL for map register messages configurable
[vpp.git]
/
src
/
vppinfra
/
smp.c
diff --git
a/src/vppinfra/smp.c
b/src/vppinfra/smp.c
index
8ac1996
..
f603283
100644
(file)
--- a/
src/vppinfra/smp.c
+++ b/
src/vppinfra/smp.c
@@
-53,7
+53,7
@@
allocate_per_cpu_mheap (uword cpu)
void *heap;
uword vm_size, stack_size, mheap_flags;
- ASSERT (os_get_
cpu_number
() == cpu);
+ ASSERT (os_get_
thread_index
() == cpu);
vm_size = (uword) 1 << m->log2_n_per_cpu_vm_bytes;
stack_size = (uword) 1 << m->log2_n_per_cpu_stack_bytes;