Received: by 10.223.176.5 with SMTP id f5csp1543850wra; Wed, 7 Feb 2018 22:40:47 -0800 (PST) X-Google-Smtp-Source: AH8x2277ixFmmtD3OaGp8WshOaCvAjCSgd/EU3iP1PjcEeJbw1SCTTEMFzAWuEEVqgNSCi0k2wkp X-Received: by 10.98.24.80 with SMTP id 77mr8467487pfy.145.1518072047506; Wed, 07 Feb 2018 22:40:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518072047; cv=none; d=google.com; s=arc-20160816; b=gFPMwl2Sw2/TffEhnTi/ahEi8h4VgOr4iILT59vtFtkVn+vXEf975GyjQ2Qk3UqYNp J6z92Kxs5x+V6ijS39WScGxpeFVqENcteU1FFjb9QKHgngBKg1Xb+DIWgFbasBZ9DLsO Z/3jFH8bVREpuB70PImPRioHFAWLJ1fewjd4rw4CwgRzmxxwtQvOFSLUuVxDRvHhyIM5 5jCfns23WSInsMjbwuzhHgBJsdMAu1+XcyjPkYGKnNr6cGTXLYdk6ofbe2m84SoEsbJa dsgdpwMl/UCrmEGbDAHy+lfQd6275vNvJaFilI8AsZTaFZ41NThCMCa9KyB0CUjjZTq1 4WAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=nvdBaTOYWjUryz/B8a4TX5pOp/ediXfPmNYe6Xeq//g=; b=QZd6ExZ+ZJQJqwgePZuYvEzrOWt2m3v7u5tfHQ6OY5UJLIysRyE2F8YP5FXlLafFA0 m3BeKidMMBKnIK/HCt9Y4RM6W5rSg0jKBUsfu+YKxKCIAMCLCANaOwEuW/8CuAHE7w4k uzmHTfovFsf/RgsFrTPWITUo5HOqf12lc94unLyd28LxWL1vIUV/NkBIqJzQcwzyEA21 lAzVnZPc2PS78MWTFsu14hrPQs9q281CjPHqxHsSZDJtzgQXAqbds2tKneNX+FJHFbru dW19413NW69/NOdwjUDQw5xwh190BaoEG/z0HN8C19ovUmNYztUUYC/uADvIjiamvwbk seKA== ARC-Authentication-Results: i=1; mx.google.com; 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 x20si989905pfe.299.2018.02.07.22.40.32; Wed, 07 Feb 2018 22:40:47 -0800 (PST) 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; 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 S1750982AbeBHGjz (ORCPT + 99 others); Thu, 8 Feb 2018 01:39:55 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:33309 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750810AbeBHGjy (ORCPT ); Thu, 8 Feb 2018 01:39:54 -0500 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="36919703" Received: from bogon (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 08 Feb 2018 14:39:52 +0800 Received: from G08CNEXCHPEKD02.g08.fujitsu.local (unknown [10.167.33.83]) by cn.fujitsu.com (Postfix) with ESMTP id 294D848AE922; Thu, 8 Feb 2018 14:39:51 +0800 (CST) Received: from TSAO.g08.fujitsu.local (10.167.226.60) by G08CNEXCHPEKD02.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 8 Feb 2018 14:39:51 +0800 From: Cao jin To: , CC: , , Subject: [PATCH] x86/linker script: drop superfluous ALIGN Date: Thu, 8 Feb 2018 14:38:57 +0800 Message-ID: <20180208063857.15197-1-caoj.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.167.226.60] X-yoursite-MailScanner-ID: 294D848AE922.AA201 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: caoj.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ALIGN(8) is superfluous since macro TEXT_TEXT already has one. bonus: indentation fix, spaces -> tab. Signed-off-by: Cao jin --- arch/x86/kernel/vmlinux.lds.S | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index a4009fb9be87..f4dc9e39ea40 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S @@ -96,7 +96,6 @@ SECTIONS _stext = .; /* bootstrapping code */ HEAD_TEXT - . = ALIGN(8); TEXT_TEXT SCHED_TEXT CPUIDLE_TEXT @@ -175,7 +174,7 @@ SECTIONS . = __vvar_beginning_hack + PAGE_SIZE; } :data - . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE); + . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE); /* Init code and data - will be freed after init */ . = ALIGN(PAGE_SIZE); @@ -343,8 +342,8 @@ SECTIONS . = ALIGN(PAGE_SIZE); /* keep VO_INIT_SIZE page aligned */ _end = .; - STABS_DEBUG - DWARF_DEBUG + STABS_DEBUG + DWARF_DEBUG /* Sections to be discarded */ DISCARDS -- 2.14.3