* [PATCH] MIPS: remove duplicate definition
@ 2016-04-04 11:42 Sudip Mukherjee
0 siblings, 0 replies; only message in thread
From: Sudip Mukherjee @ 2016-04-04 11:42 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-kernel, kernel-testers, linux-mips, Sudip Mukherjee
mips defconfig and allmodconfig are failing with the error:
In file included from ../arch/mips/kernel/asm-offsets.c:13:0:
include/linux/sched.h:2656:20: error: conflicting types for 'exit_thread'
exit_thread() was already defined in include/linux/sched.h.
Fixes: 8664c52c094e ("MIPS: Make flush_thread and exit_thread inline.")
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
---
build log of next-20160404 is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/120536697 (defconfig)
https://travis-ci.org/sudipm-mukherjee/parport/jobs/120536714 (allmodconfig)
patch has been build tested with defconfig and allmodconfig.
arch/mips/include/asm/processor.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h
index 06469df..cfa15ba 100644
--- a/arch/mips/include/asm/processor.h
+++ b/arch/mips/include/asm/processor.h
@@ -359,10 +359,6 @@ static inline void flush_thread(void)
{
}
-static inline void exit_thread(void)
-{
-}
-
unsigned long get_wchan(struct task_struct *p);
#define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + \
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-04 11:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 11:42 [PATCH] MIPS: remove duplicate definition Sudip Mukherjee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).