diff --git a/kernel/base/core/los_process.c b/kernel/base/core/los_process.c index 62eec3f5432883ac5613e0a5b073419eb1e22c5c..d78eec4dd3083adc2c23bf80284269df8430b964 100644 --- a/kernel/base/core/los_process.c +++ b/kernel/base/core/los_process.c @@ -610,7 +610,7 @@ STATIC LosProcessCB *OsGetFreePCB(VOID) if (LOS_ListEmpty(&g_freeProcess)) { SCHEDULER_UNLOCK(intSave); PRINT_ERR("No idle PCB in the system!\n"); - LOS_Panic("**************error***************\n"); + __asm__ __volatile__("swi 0"); return NULL; }