diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2016-03-27 00:07:14 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-05-13 14:01:54 +0200 |
commit | 04cc89d120f94131de89a6e20da27016db4782ce (patch) | |
tree | c336930c4f2ef2752d7b3db712f1d45c863a988f /arch/mips/include/asm/processor.h | |
parent | 5d3c792583b6040607e178925ccc8316a207210f (diff) | |
download | linux-next-04cc89d120f94131de89a6e20da27016db4782ce.tar.gz |
MIPS: Make flush_thread
Avoids function calls to an empty function.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/processor.h')
-rw-r--r-- | arch/mips/include/asm/processor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index 041153f5cf93..cfa15bad43af 100644 --- a/arch/mips/include/asm/processor.h +++ b/arch/mips/include/asm/processor.h @@ -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) + \ |