mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 00:52:11 +08:00
shm:fix build error
nuttx/arch/arm/src/armv7-a/arm_addrenv_shm.c:77:(.text.up_shmat+0x2e): undefined reference to `shminfo' Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
This commit is contained in:
@@ -75,9 +75,6 @@ int up_shmat(uintptr_t *pages, unsigned int npages, uintptr_t vaddr)
|
||||
unsigned int nmapped;
|
||||
unsigned int shmndx;
|
||||
|
||||
shminfo("pages=%p npages=%d vaddr=%08lx\n",
|
||||
pages, npages, (unsigned long)vaddr);
|
||||
|
||||
/* Sanity checks */
|
||||
|
||||
DEBUGASSERT(pages && npages > 0 && tcb && tcb->addrenv_own);
|
||||
@@ -198,8 +195,6 @@ int up_shmdt(uintptr_t vaddr, unsigned int npages)
|
||||
unsigned int nunmapped;
|
||||
unsigned int shmndx;
|
||||
|
||||
shminfo("npages=%d vaddr=%08lx\n", npages, (unsigned long)vaddr);
|
||||
|
||||
/* Sanity checks */
|
||||
|
||||
DEBUGASSERT(npages > 0 && tcb && tcb->addrenv_own);
|
||||
|
||||
Reference in New Issue
Block a user