From 86c817ab601a3da0c6fcc8f1702c8c0c031df9b2 Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Fri, 22 May 2015 15:18:58 -0400 Subject: [PATCH] Remove references to _NewContextUsr() The routine _NewContextUsr() does not exist. Change-Id: Ia20ddd3c9066930bd94e02850880a2f777081e82 Signed-off-by: Peter Mitsis --- arch/x86/core/nanocontext.c | 3 +-- arch/x86/include/nanok.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) 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,