Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5124617imu; Tue, 29 Jan 2019 13:15:04 -0800 (PST) X-Google-Smtp-Source: ALg8bN7/uwTp1Ku1ca6v4ZyK3pdg0yyu2fpZXrJWNstpqLuihLanS/u5/q0rxc6C+anHsl8dBSwO X-Received: by 2002:a63:88c7:: with SMTP id l190mr24678310pgd.110.1548796503954; Tue, 29 Jan 2019 13:15:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548796503; cv=none; d=google.com; s=arc-20160816; b=EVkhnD9++WrPWWHQ+jZze+VPrsD12It36diiaUIVqs/S8w8Z6pSq72QZW4SF7BYHNg H+YInW6PA1M5rnTBhESBn6Uh6Uygfpm+U7BNnJlLu+5loqAMfpf7njBWaKKbFsPmRwlI N7sc+3098jGPRJv+E/yKY0Mb6yNNbiwzhwaKDXSXD7YwwWzQQlBcToX8cfCmAfYz+Dju Xqpq9Ckq0liRqDXOUmgq0P+L+/PU+o0SJOSgIhdvf6D4VsneOf2JqGP+smZFsNVGT++7 oSY1v+oGNG+87gBI5s5GL3mSdKywpDUKWpp74A9S8xCn3ZubOUdqUhMjOIQjh04IRERv 6SeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date; bh=pqrOJSYeUbYEP2F1KIHYhA70VXMdGIjik/PSxFU7KOE=; b=LjE5OlIst+NS9CPerivi9SsjIv9B6TGLLhlSCxzfFcUbSjcuRjRQ/Gl0lvvj7EMSPP yyl1U3SI32EEwnae5QLw26/oTPsHaElRlE3DcFooN1LMK3za5M7d4kevv1532OtirlNo 9nwt1LUwwCGkQhwS3CWagd34wx95YpK3mRB2FgU/kHofLdc+VLCpdRKSUOVxQy8IqXHI FvQfXp6OO3Lja5Ld8o7s7aRYfi5JUsqqbFADRFHxYHnuc8cCMF5ZbeeW56kqZrYOWns5 jiaHFwiJW3rRRiktULveEpwHQpkPHRx5pt3mvqGC8+MckBnYQ1kftZNAi3LqB9S/w6h8 z8GA== 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 g92si37823176plg.392.2019.01.29.13.14.48; Tue, 29 Jan 2019 13:15:03 -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 S1729663AbfA2VNq (ORCPT + 99 others); Tue, 29 Jan 2019 16:13:46 -0500 Received: from terminus.zytor.com ([198.137.202.136]:58695 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729646AbfA2VNq (ORCPT ); Tue, 29 Jan 2019 16:13:46 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x0TLDWht2099524 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 29 Jan 2019 13:13:33 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x0TLDW5x2099520; Tue, 29 Jan 2019 13:13:32 -0800 Date: Tue, 29 Jan 2019 13:13:32 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Cao jin Message-ID: Cc: caoj.fnst@cn.fujitsu.com, linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org, kirill.shutemov@linux.intel.com, tglx@linutronix.de, bp@alien8.de Reply-To: bp@alien8.de, kirill.shutemov@linux.intel.com, tglx@linutronix.de, hpa@zytor.com, mingo@kernel.org, caoj.fnst@cn.fujitsu.com, linux-kernel@vger.kernel.org In-Reply-To: <20190123100014.23721-1-caoj.fnst@cn.fujitsu.com> References: <20190123100014.23721-1-caoj.fnst@cn.fujitsu.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cleanups] x86/boot: Save several bytes in decompressor Git-Commit-ID: 0a278662f53159354a0391a17741a20db736256a X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-0.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_48_96 autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 0a278662f53159354a0391a17741a20db736256a Gitweb: https://git.kernel.org/tip/0a278662f53159354a0391a17741a20db736256a Author: Cao jin AuthorDate: Wed, 23 Jan 2019 18:00:14 +0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Jan 2019 22:09:12 +0100 x86/boot: Save several bytes in decompressor gdt64 represents the content of GDTR under x86-64, which actually needs 10 bytes only, ".long" & ".word" is superfluous. Signed-off-by: Cao jin Signed-off-by: Thomas Gleixner Acked-by: Kirill A. Shutemov Cc: Cc: Link: https://lkml.kernel.org/r/20190123100014.23721-1-caoj.fnst@cn.fujitsu.com --- arch/x86/boot/compressed/head_64.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S index 64037895b085..b27b338d2f6d 100644 --- a/arch/x86/boot/compressed/head_64.S +++ b/arch/x86/boot/compressed/head_64.S @@ -645,8 +645,6 @@ no_longmode: .data gdt64: .word gdt_end - gdt - .long 0 - .word 0 .quad 0 gdt: .word gdt_end - gdt