Received: by 10.192.165.156 with SMTP id m28csp1646541imm; Tue, 17 Apr 2018 03:03:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx49dxQe1ozRaDy/4tJiM9PNKKrgjUxvzy7loti/YoJ2+HqkoOz5u4QNilF/nOCnZwAPfgRrN X-Received: by 10.101.97.15 with SMTP id z15mr1234492pgu.393.1523959401110; Tue, 17 Apr 2018 03:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523959401; cv=none; d=google.com; s=arc-20160816; b=pn8Yo0XljbMoJ1gMMFPy3RpGnZReckyYwkH+Mmv9BeNyY8JtTIsdbNwa+Hv8Uy54gg C6Z+mnRZIKIncho/m52w0y/IadjbqJhzlQWa1vD9n4o93O1rOyxryHbIiyYhbv7Tp9vc bKod9Nc6ooV/g7ygbcvwbHWK6qyo9t+FDElI9wrwSctydE1MXpcEu/o4q/C8tVtRwJr5 CxUMex3954ZZexnTTYre+9qZDFngIeW5YEyv2a17olX6flNEhtCE7z74GUud4Rs3zcLt dqM3DVP0nef5U5yTknev0waT9Hke1dXVQypnQOzqLQrVSkO0O26oH0UPid3ggMvwEZhL dDvA== 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:arc-authentication-results; bh=J4bVxdTMNElRFWkmGhchBCzl4GO/Gmv20CFoGSNazw4=; b=TU/OFjuoLBQhJWM1PeXTq8OhtFt9VjEb8WFIEjAoCTbNmmV+iAmdJ7RsN5LbtV7Vq8 XFPmMbWJ6Yo+Cy/CnKaz0Fi01sZcEd6CMayAXDGrDhRlvhCcqG4U5I5mFIl5nMxqtPBj 4Oi/PEub0RbaqWXs1knOYFLp3vfZFvIT/FDxfK3lQXbL118E2+KItUt4dhlz4vAKt4PM LQiCGZpJ+YJpyYYPD3kN7g36CQx4VBFTmTFuxMcH+TVZvhpgyMVZOcaDD83YmPU+yMO6 xbNdCXx//n9cbKVc4nCbbgshiabdgFEQtK4073DTfnHpBAxotb2AD4IsMREyywAwTfRE HXgA== 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 i72si11471790pgd.111.2018.04.17.03.03.07; Tue, 17 Apr 2018 03:03:21 -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 S1752427AbeDQKBt (ORCPT + 99 others); Tue, 17 Apr 2018 06:01:49 -0400 Received: from terminus.zytor.com ([198.137.202.136]:35723 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752116AbeDQKBr (ORCPT ); Tue, 17 Apr 2018 06:01:47 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w3HA1aWa856024; Tue, 17 Apr 2018 03:01:36 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w3HA1ZvW856021; Tue, 17 Apr 2018 03:01:35 -0700 Date: Tue, 17 Apr 2018 03:01:35 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Dou Liyang Message-ID: Cc: tglx@linutronix.de, mingo@kernel.org, douly.fnst@cn.fujitsu.com, hpa@zytor.com, linux-kernel@vger.kernel.org Reply-To: tglx@linutronix.de, douly.fnst@cn.fujitsu.com, mingo@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org In-Reply-To: <20180404064527.10562-1-douly.fnst@cn.fujitsu.com> References: <20180404064527.10562-1-douly.fnst@cn.fujitsu.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/processor: Remove two unused function declarations Git-Commit-ID: 451cf3ca7d4615631443014ee769c25e267c25ff 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=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) 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: 451cf3ca7d4615631443014ee769c25e267c25ff Gitweb: https://git.kernel.org/tip/451cf3ca7d4615631443014ee769c25e267c25ff Author: Dou Liyang AuthorDate: Wed, 4 Apr 2018 14:45:27 +0800 Committer: Thomas Gleixner CommitDate: Tue, 17 Apr 2018 11:56:32 +0200 x86/processor: Remove two unused function declarations early_trap_init() and cpu_set_gdt() have been removed, so remove the stale declarations as well. Signed-off-by: Dou Liyang Signed-off-by: Thomas Gleixner Cc: keescook@chromium.org Cc: luto@kernel.org Cc: hpa@zytor.com Cc: bp@suse.de Cc: kirill.shutemov@linux.intel.com Link: https://lkml.kernel.org/r/20180404064527.10562-1-douly.fnst@cn.fujitsu.com --- 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 4fa4206029e3..21a114914ba4 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -749,13 +749,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);