Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5C60C433EF for ; Mon, 18 Oct 2021 14:08:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 98CFE60EFE for ; Mon, 18 Oct 2021 14:08:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 98CFE60EFE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9bVEWKBKjjxkfzV/KqLP5mGyPsM0HoyIlVLGNuuD3ZA=; b=bprY2UN5bqQbUt cGJWojFyLpROHILDV31SaqQYbdaDQtM004MfIn1QGc10TzUY/cpPkvyK4L3wQaQ+R0aft71Wddx+E idSdq3d2W94sCN97kALISgV9Hoh+/RcLiuvP/WGopvm2Vdub3/7fA938fpfJzJ7yZ+8zPulcGXew1 jWHHBQOCrXId6i9d8cdxP1opaADBKu1f7E/1Z7G5YdhidhPsO7f6UEKz4YAUd7X/ljp5OcreeumMZ uHckNqOQG/iKa9p7h8kyMd4DOFBSYnclYwHWt6/ZYVo00NrjGAfAh508R+Om6Xv4fI7fRsV/mJqPi DchUkaDj/JZ5B0377LHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcTHL-00FzQX-WA; Mon, 18 Oct 2021 14:06:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcTDy-00FyDL-1K for linux-arm-kernel@lists.infradead.org; Mon, 18 Oct 2021 14:02:47 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id AD09A60F25; Mon, 18 Oct 2021 14:02:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634565765; bh=bVXlG8DkjNJk7n7NI2ZPx9em1HusZCpRByMxCUloa9g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IpsqoLuNC8CmAXzYNOVCouzbAzurG9yH8XVRkrMKZ53vaY78iygcRToA6P2EG4rDP umUJNZPqWnAxBORlLk2wWz/5u8gwQoRIvUW6/yu7oTzToADiw4kR9L/uRBP8vA7x7i 0H7p+Ea8tB1upXsTgebFmRkRjRkVelWgsja2UwMSvvkFTsuW1BBfur5+biACo5Grx7 wN0XvN+E6OL2CMc7EJTX3wyHqwmcVuETIBo/rgLBUaZhkkZd8SoJmafREgQ7/fOn22 tQUh18sTxDyUeJIT3lnG1UegUHrANrgUFfWLurbWtqnMBDnp9CeIhsvnHI+IALLoN2 4Gy4L9R00eHbQ== From: Arnd Bergmann To: Russell King Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann Subject: [PATCH 3/3] ARM: rpc: remove unused io-acorn.S Date: Mon, 18 Oct 2021 16:02:18 +0200 Message-Id: <20211018140218.3421945-3-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20211018140218.3421945-1-arnd@kernel.org> References: <20211018140218.3421945-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211018_070246_137550_CF3FA651 X-CRM114-Status: GOOD ( 13.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Arnd Bergmann When CONFIG_PRINTK is disabled, this causes a link failure: arm-linux-gnueabi-ld: arch/arm/mach-rpc/io-acorn.o: in function `outsl': (.text+0x38): undefined reference to `_printk' It appears like these functions have never actually had any callers themselves and are not declared in a header, but were copied from an early version of the ebsa110 platform. Signed-off-by: Arnd Bergmann --- arch/arm/mach-rpc/Makefile | 2 +- arch/arm/mach-rpc/io-acorn.S | 28 ---------------------------- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 arch/arm/mach-rpc/io-acorn.S diff --git a/arch/arm/mach-rpc/Makefile b/arch/arm/mach-rpc/Makefile index 90a645a18444..318e368022e3 100644 --- a/arch/arm/mach-rpc/Makefile +++ b/arch/arm/mach-rpc/Makefile @@ -5,5 +5,5 @@ # Object file lists. -obj-y :=dma.o ecard.o ecard-loader.o fiq.o floppydma.o io-acorn.o irq.o \ +obj-y :=dma.o ecard.o ecard-loader.o fiq.o floppydma.o irq.o \ riscpc.o time.o diff --git a/arch/arm/mach-rpc/io-acorn.S b/arch/arm/mach-rpc/io-acorn.S deleted file mode 100644 index aa9bf0d771c0..000000000000 --- a/arch/arm/mach-rpc/io-acorn.S +++ /dev/null @@ -1,28 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/io-acorn.S - * - * Copyright (C) 1995, 1996 Russell King - * - * 27/03/03 Ian Molton Clean up CONFIG_CPU - */ -#include -#include -#include - - .text - .align - -.Liosl_warning: - .ascii KERN_WARNING "insl/outsl not implemented, called from %08lX\0" - .align - -/* - * These make no sense on Acorn machines. - * Print a warning message. - */ -ENTRY(insl) -ENTRY(outsl) - adr r0, .Liosl_warning - mov r1, lr - b _printk -- 2.29.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel