From patchwork Wed May 9 07:30:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10388279 Return-Path: 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 9C84860153 for ; Wed, 9 May 2018 07:31:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80F0528E2B for ; Wed, 9 May 2018 07:31:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7549828E46; Wed, 9 May 2018 07:31:53 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 01C3628E2B for ; Wed, 9 May 2018 07:31:42 +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:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=2XSIFrzXyPJGhB8sM6/wavqU2D9ANo9UCwZQnc0KACc=; b=l0o zR8IZ/3gsGWmj9S606Wq2dVL26bdiTeb+Iq+WQNHjgle3/aLsn0MDKpDmGqtSNs7HNEHSbINxV6Bj LSQ7XAlSqyTn4jVURKrS9mAwGHFHd8KBOk6bkQlPXdoVh4Q8biIt5DG4v+Hp02SB7lr+0KJN0JrP8 Q3j+CFs95WUHYA+ZiOVQuVeeUUF4IU4Z2qnZZYTagEbOf8K4qP3dQ1yAopCQW9T5EjCew7Ycw1uLJ XJEzPtB67hYA3nK1jpBOHQcb+NLksVnVRgSQcE2uM+LF+9vrh86rK54bPmPglXRLligG+u8VVEQ4C aTctYY34YLqUl7MS4jk6oZjBF1C8r/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fGJZY-0002Mq-O9; Wed, 09 May 2018 07:31:36 +0000 Received: from conuserg-09.nifty.com ([210.131.2.76]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fGJZV-0002MA-Fm for linux-arm-kernel@lists.infradead.org; Wed, 09 May 2018 07:31:35 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id w497UkBw011283; Wed, 9 May 2018 16:30:46 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w497UkBw011283 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1525851047; bh=ynxIn1KblbVZji4++mn7EqKj5vbGES2fQXQpX3TXb5s=; h=From:To:Cc:Subject:Date:From; b=wvwiY+/f5822f8xRKPe3/wogsOd77hUV8+fXd2q4Te6C0D99McA/lCDXaZ57Sia0x doLtPSds4dUmS1rt4QnCGYsc1UeMmHqiafhvodN9bLpWyff5vxj9Ra9D7tyzEvfhkK NyMJyttWmEP+SEYn45DRTCHp+EhyefLiRFkH3rqzAnqTNq5e3F9IkqUMfBrSTgSMkw atazEH6doV+FLJvVb9e9YyeYi5PEOMZCza2vAZc//4q7hs1kBcKu+OubIQJgZjCUdX 8FbADG+3+PGxFRvvBNAqTKLFyYY8r0QU9ulAjpGZpmw3qw8HJIFoC7QnwqAMv68pLq /K0mM1o+wY8Ww== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org, Russell King Subject: [PATCH] ARM: remove no-op macro VMLINUX_SYMBOL() Date: Wed, 9 May 2018 16:30:43 +0900 Message-Id: <1525851043-11570-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180509_003133_779169_89C24F0A X-CRM114-Status: UNSURE ( 7.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olof Johansson , Masahiro Yamada , linux-kernel@vger.kernel.org, Arnd Bergmann MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP VMLINUX_SYMBOL() is no-op unless CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX is defined. It has ever been selected only by BLACKFIN and METAG. VMLINUX_SYMBOL() is unneeded for ARM-specific code. Signed-off-by: Masahiro Yamada --- I will put this patch into Russell's patch tracker. This is for reviewing. arch/arm/kernel/vmlinux.lds.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/kernel/vmlinux.lds.h b/arch/arm/kernel/vmlinux.lds.h index 71281e0..ae5fdff 100644 --- a/arch/arm/kernel/vmlinux.lds.h +++ b/arch/arm/kernel/vmlinux.lds.h @@ -27,24 +27,24 @@ #define PROC_INFO \ . = ALIGN(4); \ - VMLINUX_SYMBOL(__proc_info_begin) = .; \ + __proc_info_begin = .; \ *(.proc.info.init) \ - VMLINUX_SYMBOL(__proc_info_end) = .; + __proc_info_end = .; #define HYPERVISOR_TEXT \ - VMLINUX_SYMBOL(__hyp_text_start) = .; \ + __hyp_text_start = .; \ *(.hyp.text) \ - VMLINUX_SYMBOL(__hyp_text_end) = .; + __hyp_text_end = .; #define IDMAP_TEXT \ ALIGN_FUNCTION(); \ - VMLINUX_SYMBOL(__idmap_text_start) = .; \ + __idmap_text_start = .; \ *(.idmap.text) \ - VMLINUX_SYMBOL(__idmap_text_end) = .; \ + __idmap_text_end = .; \ . = ALIGN(PAGE_SIZE); \ - VMLINUX_SYMBOL(__hyp_idmap_text_start) = .; \ + __hyp_idmap_text_start = .; \ *(.hyp.idmap.text) \ - VMLINUX_SYMBOL(__hyp_idmap_text_end) = .; + __hyp_idmap_text_end = .; #define ARM_DISCARD \ *(.ARM.exidx.exit.text) \