From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751254AbeAYUcb (ORCPT ); Thu, 25 Jan 2018 15:32:31 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:39634 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750902AbeAYUca (ORCPT ); Thu, 25 Jan 2018 15:32:30 -0500 X-Google-Smtp-Source: AH8x2259qCsYz9EvjvpTOrI0d9fzbbcRi+yLT8P5kWXAWZsrz1gi0mP3WmUM5uHORNMAUuhDuPtzWQ== From: Sudip Mukherjee To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [PATCH] m32r: remove abort() Date: Thu, 25 Jan 2018 20:32:19 +0000 Message-Id: <1516912339-5665-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 7c2c11b208be ("arch: define weak abort()") has introduced a weak abort() which is common for all arch. And, so we will not need arch specific abort which has the same code as the weak abort(). Remove the abort() for m32r. Signed-off-by: Sudip Mukherjee --- Has been build tested with all possible m32 configuration. All build pipelines at: https://gitlab.com/sudipm/linux-next/pipelines/16586880 arch/m32r/kernel/traps.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/m32r/kernel/traps.c b/arch/m32r/kernel/traps.c index b88a8dd..a6f300a 100644 --- a/arch/m32r/kernel/traps.c +++ b/arch/m32r/kernel/traps.c @@ -115,14 +115,6 @@ static void set_eit_vector_entries(void) _flush_cache_copyback_all(); } -void abort(void) -{ - BUG(); - - /* if that doesn't kill us, halt */ - panic("Oops failed to kill thread"); -} - void __init trap_init(void) { set_eit_vector_entries(); -- 2.7.4