From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-kernel@vger.kernel.org, kernel-testers@vger.kernel.org,
linux-mips@linux-mips.org,
Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Subject: [PATCH] MIPS: remove duplicate definition
Date: Mon, 4 Apr 2016 17:12:15 +0530 [thread overview]
Message-ID: <1459770135-6228-1-git-send-email-sudipm.mukherjee@gmail.com> (raw)
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
reply other threads:[~2016-04-04 11:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1459770135-6228-1-git-send-email-sudipm.mukherjee@gmail.com \
--to=sudipm.mukherjee@gmail.com \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).