[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-db779ef67ffeadbb44e9e818eb64dbe528e2f48f@git.kernel.org>
Date: Tue, 26 Mar 2019 08:40:18 -0700
From: tip-bot for Bhupesh Sharma <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: osandov@...com, peterz@...radead.org, bhsharma@...hat.com,
rahul.lakkireddy@...lsio.com, kasong@...hat.com,
davem@...emloft.net, x86@...nel.org, bp@...e.de,
linux-kernel@...r.kernel.org, anderson@...hat.com,
dyoung@...hat.com, hpa@...or.com, mingo@...nel.org,
mpe@...erman.id.au, akpm@...ux-foundation.org, tglx@...utronix.de,
james.morse@....com, adrian.hunter@...el.com
Subject: [tip:core/urgent] proc/kcore: Remove unused kclist_add_remap()
Commit-ID: db779ef67ffeadbb44e9e818eb64dbe528e2f48f
Gitweb: https://git.kernel.org/tip/db779ef67ffeadbb44e9e818eb64dbe528e2f48f
Author: Bhupesh Sharma <bhsharma@...hat.com>
AuthorDate: Tue, 26 Mar 2019 12:20:28 +0530
Committer: Borislav Petkov <bp@...e.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@...hat.com>
Signed-off-by: Borislav Petkov <bp@...e.de>
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Dave Anderson <anderson@...hat.com>
Cc: Dave Young <dyoung@...hat.com>
Cc: "David S. Miller" <davem@...emloft.net>
Cc: Ingo Molnar <mingo@...nel.org>
Cc: James Morse <james.morse@....com>
Cc: Kairui Song <kasong@...hat.com>
Cc: kexec@...ts.infradead.org
Cc: linux-arm-kernel@...ts.infradead.org
Cc: linuxppc-dev@...ts.ozlabs.org
Cc: Michael Ellerman <mpe@...erman.id.au>
Cc: Omar Sandoval <osandov@...com>
Cc: "Peter Zijlstra (Intel)" <peterz@...radead.org>
Cc: Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: x86-ml <x86@...nel.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 */
Powered by blists - more mailing lists