iccarm工具链编译适配
Signed-off-by: i-wangliangliang <willfox@126.com> Change-Id: I9360dc232c35ec4db7a9bee08f3c288e22941e39
This commit is contained in:
@@ -1901,14 +1901,12 @@ STATIC VOID OsMemIntegrityCheckError(struct OsMemPoolHead *pool,
|
||||
if (taskID >= LOSCFG_BASE_CORE_TSK_LIMIT) {
|
||||
MEM_UNLOCK(pool, intSave);
|
||||
LOS_Panic("Task ID %u in pre node is invalid!\n", taskID);
|
||||
return;
|
||||
}
|
||||
|
||||
taskCB = OS_TCB_FROM_TID(taskID);
|
||||
if ((taskCB->taskStatus & OS_TASK_STATUS_UNUSED) || (taskCB->taskEntry == NULL)) {
|
||||
MEM_UNLOCK(pool, intSave);
|
||||
LOS_Panic("\r\nTask ID %u in pre node is not created!\n", taskID);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
PRINTK("The prev node is free\n");
|
||||
|
||||
Reference in New Issue
Block a user