From patchwork Wed May 9 07:51:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135214 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5328510lji; Wed, 9 May 2018 00:51:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrENLPwiETCSYG4/+dE+nHTv7W7QsBRzPtiSBPCylIJya2+3rMyDudLHfrZ2FkBEFWOOd/T X-Received: by 2002:a17:902:bc4a:: with SMTP id t10-v6mr44653293plz.343.1525852314678; Wed, 09 May 2018 00:51:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525852314; cv=none; d=google.com; s=arc-20160816; b=aIWnEZ5tui/9UqJM9s2kRW9unRMVnmgW2H/gdl8RJ1c8KfB6ik7UVFgopIZCFnQdjm 0PbouSx5L0jDJP87OFeQfOoPSgyvc5cHZt61n6PxF04ihNt46NKAwa7G0p9tRuudsdtr X7MgCJFleg4vVAfBLKHGJYCUUP3tmh6ntnG7CZ4BBIYPtD4GYFC39FgBUgshh63XFxq/ vYuLIlOCN+1d19NydelY7NOgHaSzdA9ygSh4uvye3zX+7xeLsznxxyo3qYYgc2BG25IH Tyhvat4FIePrA66gytbqWi9m5Tsaaywh1siN5be+ZYIXYv7yfNVlCq3LjTgR0qE/M0O+ +INw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=dAwDArEBu5JSbsfB+Gc3yLepeme1WOBhvLTZddeZO5g=; b=pyoIcqyvRuyc3wRcxNBvZY8SNwHJcO8jgolOQfwEiRB3vQpPyrBImDh9KjrNJK2JST 8771iyj6bDVY6s4bgN4q1c/tLroL2D109qm0DX7/DX2oJTFXEWlENz4b3JGNQ8DQpEeX pcP2ClUDawBAaIsuROLj1Cc1+bfbzt2zJJIr+kPb+qf0BGqlWLraf22VXQcRoq1OcyK4 0zigs6fDXtBUl3iz8lsklvv7z7gitzDOG5JfplEOo019oOvv38O2mJOXBAjjvsaCy50U WxXu2+ElsA1Yki4KVD/6WcRqeDxVlh30e77BKtpXBIGWwXAXcfKxTR2Zb5Fxe2UHbhqF 479w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=FiOGPr/F; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s62-v6si21155914pgc.216.2018.05.09.00.51.54; Wed, 09 May 2018 00:51:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=FiOGPr/F; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933979AbeEIHvv (ORCPT + 29 others); Wed, 9 May 2018 03:51:51 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:27164 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933715AbeEIHvt (ORCPT ); Wed, 9 May 2018 03:51:49 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w497phvd018758; Wed, 9 May 2018 16:51:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w497phvd018758 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1525852304; bh=dAwDArEBu5JSbsfB+Gc3yLepeme1WOBhvLTZddeZO5g=; h=From:To:Cc:Subject:Date:From; b=FiOGPr/F2s62AY/BubcnbaFJ2zQP+fNtlPi9SfxUsehB/whLwVLzTC1mRksm5ABM1 ZKNr/5JMPlLaUF7f7NyohmekBkGi5kJR5yYDd+8Lh8mEfyEp7RDTk3/EhVjVsJetMQ 3eiK9Gh6wqxBAoAjnFN5dPNoMtFxhNz5Hs7J7EffCZevS9qb8BhpaT1E29vMJf9P4D LR/K8rdJELgbIjWYRuvCtHEMRA3BQnvcSVs92Zp1UlLfwNvuGPdAYWL90aMivTmsa/ ZtNF8FSmQevTPtdrmCZ1UJsCljWE5OOwXxR9ZLEDGTU0mXjHjDQ7YI7i9ogWY9jItU 51mAUHrm6vSWQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org Cc: linux-arch , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] s390: remove no-op macro VMLINUX_SYMBOL() Date: Wed, 9 May 2018 16:51:39 +0900 Message-Id: <1525852299-29134-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 s390-specific code. Signed-off-by: Masahiro Yamada --- arch/s390/kernel/vmlinux.lds.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S index 08d12cf..f0414f5 100644 --- a/arch/s390/kernel/vmlinux.lds.S +++ b/arch/s390/kernel/vmlinux.lds.S @@ -82,10 +82,10 @@ SECTIONS . = ALIGN(PAGE_SIZE); .init.text : AT(ADDR(.init.text) - LOAD_OFFSET) { - VMLINUX_SYMBOL(_sinittext) = . ; + _sinittext = .; INIT_TEXT . = ALIGN(PAGE_SIZE); - VMLINUX_SYMBOL(_einittext) = . ; + _einittext = .; } /*