From: naveen.n.rao@linux.vnet.ibm.com (Naveen N. Rao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] arm: kprobes: remove kprobe_exceptions_notify
Date: Tue, 7 Mar 2017 00:34:56 +0530 [thread overview]
Message-ID: <67983f0757dc99e8f50b4fe2956b053df920df10.1488826671.git.naveen.n.rao@linux.vnet.ibm.com> (raw)
In-Reply-To: <cover.1488826671.git.naveen.n.rao@linux.vnet.ibm.com>
Commit fc62d0207ae0 ("kprobes: Introduce weak variant of
kprobe_exceptions_notify()") introduces a generic empty version of the
function for architectures that don't need special handling, like arm.
As such, remove the arch/arm/ specific handler.
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
---
arch/arm/probes/kprobes/core.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/arch/arm/probes/kprobes/core.c b/arch/arm/probes/kprobes/core.c
index b6dc9d838a9a..4a548b99965b 100644
--- a/arch/arm/probes/kprobes/core.c
+++ b/arch/arm/probes/kprobes/core.c
@@ -392,16 +392,6 @@ int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr)
return 0;
}
-int __kprobes kprobe_exceptions_notify(struct notifier_block *self,
- unsigned long val, void *data)
-{
- /*
- * notify_die() is currently never called on ARM,
- * so this callback is currently empty.
- */
- return NOTIFY_DONE;
-}
-
/*
* When a retprobed function returns, trampoline_handler() is called,
* calling the kretprobe's handler. We construct a struct pt_regs to
--
2.11.1
next prev parent reply other threads:[~2017-03-06 19:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-07 19:54 [PATCH 1/3] kprobes: introduce weak variant of kprobe_exceptions_notify Naveen N. Rao
2017-02-07 19:54 ` [PATCH 2/3] arm: kprobes: remove kprobe_exceptions_notify Naveen N. Rao
2017-03-06 18:07 ` Naveen N. Rao
2017-03-06 18:38 ` Russell King - ARM Linux
2017-03-06 19:04 ` Naveen N. Rao
2017-03-06 19:04 ` Naveen N. Rao [this message]
2017-03-06 19:04 ` [PATCH 2/2] arm64: " Naveen N. Rao
2017-02-07 19:54 ` [PATCH 3/3] powerpc: kprobes: remove kprobe_exceptions_notify() Naveen N. Rao
2017-02-14 12:40 ` [3/3] " Michael Ellerman
2017-02-08 1:45 ` [PATCH 1/3] kprobes: introduce weak variant of kprobe_exceptions_notify Masami Hiramatsu
2017-02-10 3:41 ` Michael Ellerman
2017-02-10 7:50 ` Ingo Molnar
2017-02-13 8:32 ` Naveen N. Rao
2017-02-14 12:40 ` [1/3] " Michael Ellerman
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=67983f0757dc99e8f50b4fe2956b053df920df10.1488826671.git.naveen.n.rao@linux.vnet.ibm.com \
--to=naveen.n.rao@linux.vnet.ibm.com \
--cc=linux-arm-kernel@lists.infradead.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 NNTP newsgroup(s).