All of lore.kernel.org
 help / color / mirror / Atom feed
From: tip-bot for Bhupesh Sharma <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: osandov@fb.com, peterz@infradead.org, bhsharma@redhat.com,
	rahul.lakkireddy@chelsio.com, kasong@redhat.com,
	davem@davemloft.net, x86@kernel.org, bp@suse.de,
	linux-kernel@vger.kernel.org, anderson@redhat.com,
	dyoung@redhat.com, hpa@zytor.com, mingo@kernel.org,
	mpe@ellerman.id.au, akpm@linux-foundation.org,
	tglx@linutronix.de, james.morse@arm.com, adrian.hunter@intel.com
Subject: [tip:core/urgent] proc/kcore: Remove unused kclist_add_remap()
Date: Tue, 26 Mar 2019 08:40:18 -0700	[thread overview]
Message-ID: <tip-db779ef67ffeadbb44e9e818eb64dbe528e2f48f@git.kernel.org> (raw)
In-Reply-To: <1553583028-17804-1-git-send-email-bhsharma@redhat.com>

Commit-ID:  db779ef67ffeadbb44e9e818eb64dbe528e2f48f
Gitweb:     https://git.kernel.org/tip/db779ef67ffeadbb44e9e818eb64dbe528e2f48f
Author:     Bhupesh Sharma <bhsharma@redhat.com>
AuthorDate: Tue, 26 Mar 2019 12:20:28 +0530
Committer:  Borislav Petkov <bp@suse.de>
CommitDate: Tue, 26 Mar 2019 16:36:03 +0100

proc/kcore: Remove unused kclist_add_remap()

Commit

  bf904d2762ee ("x86/pti/64: Remove the SYSCALL64 entry trampoline")

removed the sole usage of kclist_add_remap() but it did not remove the
left-over definition from the include file.

Fix the same.

Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Dave Anderson <anderson@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: James Morse <james.morse@arm.com>
Cc: Kairui Song <kasong@redhat.com>
Cc: kexec@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Omar Sandoval <osandov@fb.com>
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Cc: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/1553583028-17804-1-git-send-email-bhsharma@redhat.com
---
 include/linux/kcore.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/include/linux/kcore.h b/include/linux/kcore.h
index 8c3f8c14eeaa..94b561df3877 100644
--- a/include/linux/kcore.h
+++ b/include/linux/kcore.h
@@ -38,22 +38,11 @@ struct vmcoredd_node {
 
 #ifdef CONFIG_PROC_KCORE
 void __init kclist_add(struct kcore_list *, void *, size_t, int type);
-static inline
-void kclist_add_remap(struct kcore_list *m, void *addr, void *vaddr, size_t sz)
-{
-	m->vaddr = (unsigned long)vaddr;
-	kclist_add(m, addr, sz, KCORE_REMAP);
-}
 #else
 static inline
 void kclist_add(struct kcore_list *new, void *addr, size_t size, int type)
 {
 }
-
-static inline
-void kclist_add_remap(struct kcore_list *m, void *addr, void *vaddr, size_t sz)
-{
-}
 #endif
 
 #endif /* _LINUX_KCORE_H */

      reply	other threads:[~2019-03-26 15:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-26  6:50 [PATCH] include/kcore: Remove left-over instances of 'kclist_add_remap()' Bhupesh Sharma
2019-03-26  6:50 ` Bhupesh Sharma
2019-03-26  6:50 ` Bhupesh Sharma
2019-03-26  6:50 ` Bhupesh Sharma
2019-03-26 15:40 ` tip-bot for Bhupesh Sharma [this message]

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=tip-db779ef67ffeadbb44e9e818eb64dbe528e2f48f@git.kernel.org \
    --to=tipbot@zytor.com \
    --cc=adrian.hunter@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=anderson@redhat.com \
    --cc=bhsharma@redhat.com \
    --cc=bp@suse.de \
    --cc=davem@davemloft.net \
    --cc=dyoung@redhat.com \
    --cc=hpa@zytor.com \
    --cc=james.morse@arm.com \
    --cc=kasong@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=mpe@ellerman.id.au \
    --cc=osandov@fb.com \
    --cc=peterz@infradead.org \
    --cc=rahul.lakkireddy@chelsio.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.