Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04cc89d1 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Make flush_thread



Avoids function calls to an empty function.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 5d3c7925
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -355,6 +355,10 @@ extern unsigned long thread_saved_pc(struct task_struct *tsk);
 */
extern void start_thread(struct pt_regs * regs, unsigned long pc, unsigned long sp);

static inline void flush_thread(void)
{
}

unsigned long get_wchan(struct task_struct *p);

#define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + \
+0 −4
Original line number Diff line number Diff line
@@ -77,10 +77,6 @@ void exit_thread(void)
{
}

void flush_thread(void)
{
}

int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
{
	/*