Received: by 10.213.65.68 with SMTP id h4csp393550imn; Tue, 3 Apr 2018 23:47:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/k7EQVgqOiCaWCUsF9F6WAciMH1P+7AlQfpH1H/IOHjLDloMbpK89fo0ZAc6XNk1DcaANL X-Received: by 2002:a17:902:28c4:: with SMTP id f62-v6mr17417865plb.19.1522824431182; Tue, 03 Apr 2018 23:47:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522824431; cv=none; d=google.com; s=arc-20160816; b=WG5q51OvuXg3SsCln3NDh4vVMWh/Tff0e+JR+34S+LccZQER2IPlZe6XrXPaTp9rFE PqnwwlUVN2cS/tZxhuhq2IVhVIJ3FtBnLmQ47jB9Fykg1IYjaodltROELGGlkiPMBlCx dy+5I1e2IjQ3NZt/WJgyrgXqhmQwL2LJC2agIFNVayE4FAdzRT2Wg9pPlOqKXO6eS+tN elKY8bzHTuP7wikM2utnV5xS2yr21V89s4DIbJXBQFrvMRJu+qhAf96f/w9m67h/mTWw S5pJkuydO/sMwn9BT5LKdWFcbNpfasYILDQLNunaIBcUx62/SFzXvOI+Z/gl/OKBPyD3 ZOxw== 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=77PuFFPEUufka2FHUMiFxw1eT82PzYbyCSEWo8DVvtU=; b=PNaYnhzt9kBoujZ1N6y7nwxoXOiYOCnBnYgydSW0BAv8jAPaPXuL+UGRqYm05Tv355 zP4paQ5YJua0wrIE6+xKu9XJehmSvpi6EndY5C+4zyD6+NVLR3blM6N43znQ2bHHUk9A H+zBFlVCaX94N58na/WpqDl8T6Dh3SVrHzcrqWEbPpwMPx5fhr1/DoMsRaDY3aNpPo9w obFfMFeIDmttaTeexFVOFZ3IFvkA2jgmBHXOIJJJC5CaYUGXJpCuIRPJFcKXunBB1h6e u/5rCTiFsyTa/3/lskG+jQqlmpLEVBGuviiemf6Jxj3B7KIe7YF0pEiortsX6xWxpiuL +ixQ== 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 f2-v6si2444415plo.434.2018.04.03.23.46.57; Tue, 03 Apr 2018 23:47:11 -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; 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 S1751339AbeDDGpo (ORCPT + 99 others); Wed, 4 Apr 2018 02:45:44 -0400 Received: from mail.cn.fujitsu.com ([183.91.158.132]:2490 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751264AbeDDGpm (ORCPT ); Wed, 4 Apr 2018 02:45:42 -0400 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="38601278" Received: from bogon (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 04 Apr 2018 14:45:40 +0800 Received: from G08CNEXCHPEKD02.g08.fujitsu.local (unknown [10.167.33.83]) by cn.fujitsu.com (Postfix) with ESMTP id ACD334D0EFE1; Wed, 4 Apr 2018 14:45:39 +0800 (CST) Received: from localhost.localdomain (10.167.226.106) by G08CNEXCHPEKD02.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 4 Apr 2018 14:45:39 +0800 From: Dou Liyang To: , CC: , , , , , , , Dou Liyang Subject: [PATCH] x86/processor: Remove two legacy function declaration Date: Wed, 4 Apr 2018 14:45:27 +0800 Message-ID: <20180404064527.10562-1-douly.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.106] X-yoursite-MailScanner-ID: ACD334D0EFE1.A3314 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.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 the early_trap_init() and cpu_set_gdt() have been abandoned, so remove them. Signed-off-by: Dou Liyang --- arch/x86/include/asm/processor.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index b0ccd4847a58..3ef3221107c3 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -739,13 +739,11 @@ enum idle_boot_override {IDLE_NO_OVERRIDE=0, IDLE_HALT, IDLE_NOMWAIT, extern void enable_sep_cpu(void); extern int sysenter_setup(void); -extern void early_trap_init(void); void early_trap_pf_init(void); /* Defined in head.S */ extern struct desc_ptr early_gdt_descr; -extern void cpu_set_gdt(int); extern void switch_to_new_gdt(int); extern void load_direct_gdt(int); extern void load_fixmap_gdt(int); -- 2.14.3