arch_interface: remove unnecessary params

arch_new_thread() passes along the thread priority and option
flags, but these are already initialized in thread->base and
can be accessed there if needed.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2020-04-23 11:17:14 -07:00 committed by Anas Nashif
commit 62eb7d99dc
11 changed files with 20 additions and 36 deletions

View file

@ -13,8 +13,7 @@ extern void x86_sse_init(struct k_thread *); /* in locore.S */
void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
size_t stack_size, k_thread_entry_t entry,
void *parameter1, void *parameter2, void *parameter3,
int priority, unsigned int options)
void *parameter1, void *parameter2, void *parameter3)
{
void *switch_entry;