Message ID | 67983f0757dc99e8f50b4fe2956b053df920df10.1488826671.git.naveen.n.rao@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 597AF602B4 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 6 Mar 2017 19:06:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65BAE22376 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 6 Mar 2017 19:06:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 597B926B41; Mon, 6 Mar 2017 19:06:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B526927D8D for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 6 Mar 2017 19:06:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id: References:In-Reply-To:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=o95MG4YBYxZxMVjCF/zKGpe+CKi8tbUNGVBA1+hSRM4=; b=kowb6Y/gfVS0vqsORYJCIM2YbC xvEvqbnqWCek+LvMmPeUwOkA0eU0K6KRRXs0jUIvAcBYr0WKWanHadFBo6JEAaqucX1Nz1Q+pdVUr 5YU4d1DJhxRZ5yHR2r5dZC4kJoOk90Vlo/NYppZygQkJB/0iy4VgRc6CdRtIcWgTapoKdh9vwX4vx AXDteKlk62llyBtWOEZ1UIpqrlRkSC0bXnTi/WWhLR9vdLl1NqxcPgwI7S1XbVPN8CTorfbC+lRuA tYqhlGYJFqZnVqmlKj640ARFS+jfGh0BjeAzPJCG+mK1isArA+op+BVM6Xct8SKlj3yrvFy8Wynst iKAH494w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ckxyB-00005q-Nu; Mon, 06 Mar 2017 19:06:55 +0000 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5] helo=mx0a-001b2d01.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ckxxo-0008EX-NB for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2017 19:06:34 +0000 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v26IwoF9103393 for <linux-arm-kernel@lists.infradead.org>; Mon, 6 Mar 2017 14:06:11 -0500 Received: from e23smtp02.au.ibm.com (e23smtp02.au.ibm.com [202.81.31.144]) by mx0b-001b2d01.pphosted.com with ESMTP id 291ba9q5d1-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for <linux-arm-kernel@lists.infradead.org>; Mon, 06 Mar 2017 14:06:11 -0500 Received: from localhost by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <linux-arm-kernel@lists.infradead.org> from <naveen.n.rao@linux.vnet.ibm.com>; Tue, 7 Mar 2017 05:06:08 +1000 Received: from d23dlp02.au.ibm.com (202.81.31.213) by e23smtp02.au.ibm.com (202.81.31.208) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 7 Mar 2017 05:06:06 +1000 Received: from d23relay09.au.ibm.com (d23relay09.au.ibm.com [9.185.63.181]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 422B52BB0057 for <linux-arm-kernel@lists.infradead.org>; Tue, 7 Mar 2017 06:06:06 +1100 (EST) Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay09.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v26J5wwh41550004 for <linux-arm-kernel@lists.infradead.org>; Tue, 7 Mar 2017 06:06:06 +1100 Received: from d23av01.au.ibm.com (localhost [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v26J5Xgn029928 for <linux-arm-kernel@lists.infradead.org>; Tue, 7 Mar 2017 06:05:33 +1100 Received: from naverao1-tp.ibm.com ([9.84.217.126]) by d23av01.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id v26J5LxY029573; Tue, 7 Mar 2017 06:05:30 +1100 From: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> To: Russell King <linux@armlinux.org.uk>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com> Subject: [PATCH 1/2] arm: kprobes: remove kprobe_exceptions_notify Date: Tue, 7 Mar 2017 00:34:56 +0530 X-Mailer: git-send-email 2.11.1 In-Reply-To: <cover.1488826671.git.naveen.n.rao@linux.vnet.ibm.com> References: <cover.1488826671.git.naveen.n.rao@linux.vnet.ibm.com> In-Reply-To: <cover.1488826671.git.naveen.n.rao@linux.vnet.ibm.com> References: <20170306183815.GX21222@n2100.armlinux.org.uk> <cover.1488826671.git.naveen.n.rao@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17030619-0004-0000-0000-000001E9DF08 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17030619-0005-0000-0000-000009CE091F Message-Id: <67983f0757dc99e8f50b4fe2956b053df920df10.1488826671.git.naveen.n.rao@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-03-06_17:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703060153 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170306_110632_909908_173C057D X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: mpe@ellerman.id.au, linux-kernel@vger.kernel.org, ananth@linux.vnet.ibm.com, Masami Hiramatsu <mhiramat@kernel.org>, Ingo Molnar <mingo@kernel.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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
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(-)