diff --git a/arch/x86/core/nanocontext.c b/arch/x86/core/nanocontext.c index 4f5d6ee6b70..f0436562a7f 100644 --- a/arch/x86/core/nanocontext.c +++ b/arch/x86/core/nanocontext.c @@ -67,8 +67,7 @@ void _ContextEntryWrapper(_ContextEntry, _ContextArg, _ContextArg, _ContextArg); * contexts, kernel task contexts and user mode task contexts. The 'priority' * parameter will be set to -1 for the creation of task context. * -* This function is called by _NewContext() and _NewContextUsr() to initialize -* task contexts. +* This function is called by _NewContext() to initialize task contexts. * * RETURNS: N/A * diff --git a/arch/x86/include/nanok.h b/arch/x86/include/nanok.h index 8f7c9f991be..dfebe430222 100644 --- a/arch/x86/include/nanok.h +++ b/arch/x86/include/nanok.h @@ -891,7 +891,6 @@ extern void nano_cpu_atomic_idle(unsigned int imask); extern unsigned _Swap(unsigned int mask); extern void _insert_ccs(tCCS **queue, tCCS *ccs); -extern void _NewContextUsr(void *ccs, int prio, unsigned options); extern void *_NewContext(char *pStack, unsigned stackSize, _ContextEntry pEntry,