From patchwork Wed May 9 07:49:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135213 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5328007lji; Wed, 9 May 2018 00:51:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqGTTnvnJVPdVPKl5vA4Vd0l9tJRGpHGGzRF+qKFM5zm88ncfLILhgcmMrfcB3ovzk9r06z X-Received: by 2002:a63:5f0e:: with SMTP id t14-v6mr33554708pgb.94.1525852272112; Wed, 09 May 2018 00:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525852272; cv=none; d=google.com; s=arc-20160816; b=gU0ehctuUgKM/5e0TCpuF2n29SdrPonhu0vMvZxFkBTt/9QM4N9xk+W6mspisHKNbn qaAtjmtWRbTdY8Suz7Rf7VD02nrmxvW0RR+k9/kySuBl6G5mJGTCH2B9/Wtu2TxqZXE+ 8cDEpQzXWdO3KT0HRUrNWlm78+KSmfSmqF461OqWv8qeqVtBvY2uwJQLMTEawU3gq2r8 +uoPEWbs4YPccgvF6cN4Sfvf3MUlAlyVQfkjg3BB4+//ncdL7CaTzKCSf4y2PwkuPzfK kDsxePjBTy3oyYSYbxuYQqk1799qtMes/UW8c+B9onelbQqU+fs52tv9BiTsmv+aydSx 25Sw== 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=5BsZx1jSffOrjmctAfU4IK8rsFlWwNK5AMe0WRPacXY=; b=bnF7t1p8qJEwBuKaQHmLXb4hFjhszW1qNgBkgZCOwNr2S8zd9fgW8AE8PtSbxZ5Tbo Y7arRulzDNah/HxpRJJRBLYZnnGL3S16yz2JpiSujCiHUaAM7bAV4aejDNWQSbgvPj3y FLPiw43m0H96dOirxMNHarriZ2wc3UnQtmUt1ERkQP6pwI/jOMUMn4/n+HzrZ0N8JKEu 5eLMWf2AeERVZnzVQMyRb6SCbl2+BZoz2KmSpDYI5fONXSCPHRSV/BC1x5rDqn96ooIy fhb13cS/uatujax9cKITrnB7f/UOXnjoHOJTUWCN0mW8vBr0ZVOYQtIkKGJiNEFxlXnT 5qCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=yK9UJ7cf; 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 b65-v6si25113831plb.162.2018.05.09.00.51.11; Wed, 09 May 2018 00:51:12 -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=yK9UJ7cf; 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 S933972AbeEIHvI (ORCPT + 29 others); Wed, 9 May 2018 03:51:08 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:36038 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933773AbeEIHvG (ORCPT ); Wed, 9 May 2018 03:51:06 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id w497nsEZ031539; Wed, 9 May 2018 16:49:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w497nsEZ031539 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1525852195; bh=5BsZx1jSffOrjmctAfU4IK8rsFlWwNK5AMe0WRPacXY=; h=From:To:Cc:Subject:Date:From; b=yK9UJ7cf0UFmatpqdbrZ7zl2ei+N/onF+e3wCLramrAMsMChWNAAGMXuExbCZkUwR eZwCDlROKAqh6oIMveNjjEosQRozFF+YjBf+N+7p3gpF4ywoN0uNDQ+PVxuYlWA3/4 VRLSYnjvGls5MIkQWTaWJMjX6elVWPLVZfk2/D+4zAJ3md78Mgqhd5xx+bCI82PsM6 hMqnrdQEZ7o1/JgSwUW/Vx0CaQM+LEKiSrPi8kHgdXgoa3eYTdaTy2ANsVclwa8ZEj Dwqh6hFRiQgfSxC3iYFYsE7Qg0KBpcxrL8yQZOlnF52hPM6Wo5CaLfiT1AyzIRm+z2 8o1ta1hhvZWFA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: x86@kernel.org Cc: linux-arch , Masahiro Yamada , "H. Peter Anvin" , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar Subject: [PATCH] x86: remove no-op macro VMLINUX_SYMBOL() Date: Wed, 9 May 2018 16:49:34 +0900 Message-Id: <1525852174-29022-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 x86-specific code. Signed-off-by: Masahiro Yamada --- arch/x86/kernel/vmlinux.lds.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 795f3a8..5e1458f 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S @@ -117,11 +117,11 @@ SECTIONS #ifdef CONFIG_X86_64 . = ALIGN(PAGE_SIZE); - VMLINUX_SYMBOL(__entry_trampoline_start) = .; + __entry_trampoline_start = .; _entry_trampoline = .; *(.entry_trampoline) . = ALIGN(PAGE_SIZE); - VMLINUX_SYMBOL(__entry_trampoline_end) = .; + __entry_trampoline_end = .; ASSERT(. - _entry_trampoline == PAGE_SIZE, "entry trampoline is too big"); #endif