Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp594013imu; Wed, 23 Jan 2019 02:05:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN5FeAY6RNE8SkdRTUN/sOyguvizBTEXrMKGtwnBIPNxCjSkYR6bXoD0nCDE0n+7p7G5Jv2X X-Received: by 2002:a17:902:d891:: with SMTP id b17mr1636850plz.80.1548237916753; Wed, 23 Jan 2019 02:05:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548237916; cv=none; d=google.com; s=arc-20160816; b=YbtxgptM4Y0cWsg5cbfNqOvo/QFD9TJT0l3YwMkHZ+xK9pfnuZnaaihKU/yNMth0n3 sL8q8ZbKneO8HZP9F682AgVtHfY7RL98Svd+Ucg2CAWLnIMgpQUgy2ffMlDfwRGz3kts O9XfUKL6QX8kh5ixD/MhzJiQ8UsVz9si+H5+AQ73q2QEt8g3fPHjNl4M1EZcRX8+dgPU 6F6fTeOoYcij0hBeKdjarT32sxM23aJ3aO1sNo8VYTNjm7tvcaBZtIXmvB8H/kdGM34r q3WfE4WbGLRx20vG2TlqLg8VY6dCrbCkqW5fgVuw2xoQtaRhBQQKoxTHfSMd1ghltuXX swSg== 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; bh=UJUXF3vTOZa5W6uBs71AXHvskP4ZDbYH/VIfEhWHMZM=; b=dzjklDmRUFSSSg45ZlKuMPHuN4ESTto6lP4GpREwMgQWPQOVYd7jReEu87qaOsVt9y J9CSGdI+uuw7qxQbEUiRYpglr+SkVBGTn2Umg1OBNtgzgyFySYbS5f2IVLE4fwfvxfG5 7/jtrXlpfrboKi6IaRDbnLLPvyZBOx0wyt7bBe+YUaXc/wkN2wnS68DTSH5wMEyEqgNe 9Yn53Nv+wxsIqDrTkBcKtA34LQNP3k7W7m+TZMsgdaw17Y/9ffeHdncnMKGcbXSsPfNz B3B56kyFqY7OUIdRoGLGVGQiJiWIwC21VjAkEdQ7dSEfJ/afy4ICYp5BdL8iw14bb4Jz /27g== 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 j22si15061870pgj.244.2019.01.23.02.04.55; Wed, 23 Jan 2019 02:05:16 -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 S1727363AbfAWKDW (ORCPT + 99 others); Wed, 23 Jan 2019 05:03:22 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:9487 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727181AbfAWKDW (ORCPT ); Wed, 23 Jan 2019 05:03:22 -0500 X-IronPort-AV: E=Sophos;i="5.56,510,1539619200"; d="scan'208";a="52647666" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 23 Jan 2019 18:03:19 +0800 Received: from G08CNEXCHPEKD02.g08.fujitsu.local (unknown [10.167.33.83]) by cn.fujitsu.com (Postfix) with ESMTP id E17664B4030E; Wed, 23 Jan 2019 18:03:20 +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.408.0; Wed, 23 Jan 2019 18:03:19 +0800 From: Cao jin To: , CC: , , , , Subject: [PATCH] x86/boot: save several bytes in decompressor Date: Wed, 23 Jan 2019 18:00:14 +0800 Message-ID: <20190123100014.23721-1-caoj.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.17.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.167.226.60] X-yoursite-MailScanner-ID: E17664B4030E.AA445 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 gdt64 represents the content of GDTR under x86-64, which actually needs 10 bytes only, ".long" & ".word" is superfluous. Signed-off-by: Cao jin --- 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 58f6a467f1fa..541358454f10 100644 --- a/arch/x86/boot/compressed/head_64.S +++ b/arch/x86/boot/compressed/head_64.S @@ -642,8 +642,6 @@ no_longmode: .data gdt64: .word gdt_end - gdt - .long 0 - .word 0 .quad 0 gdt: .word gdt_end - gdt -- 2.17.0