Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2102164ybh; Fri, 13 Mar 2020 12:53:35 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvM3Qi+TjIon89e5fmAzG/FhFtwrEgjSkzL6O9IV2KA8jcwQA1rAdCmI4aJzMk5X4x6iy8m X-Received: by 2002:a9d:d27:: with SMTP id 36mr12986020oti.230.1584129215092; Fri, 13 Mar 2020 12:53:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584129215; cv=none; d=google.com; s=arc-20160816; b=s7INoF/vHHLxaxrDGu/tEbBlrMBr3bWBMIs9XSfClbKlZs/KgcguPGj2cewcyAsL6L 4EIMvYRFTb3OjE/MOp1xSC8MX0SYO0/lGDOa+ZEhWPkOXLKRtHcO5YugpJCd0xiRUoir aJyokNwqNMTf+IgzblWXF2HgcOwOksu8guiEWOcu3Qc0AczY9P1Ig7FICTjqYLAc3nG8 p2I8qHGDu+blfGTJVctRQTKOHrTo1ixvKBzUlqI2KZsJW4j6oHxsLEAYe29ePDq+eDhM 47ztOnxROCjb/sflc7/qvyhVRDBx10F4/DphBDBf2FMQXdMqI8N0NzutK9o6KBhrD9ED twgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+4MuynrCluq7yH2fUxvvPhT+426Ye/ItTPShbrN6qL0=; b=GGj01PmqerNkK17USyGC8PP47fK+UidP94P8FhfgmwrQq+ankXUlSzm04QZCTePVD3 54xllLkZZT0ykL05I2K5ZA4G7o5WIWbXoxQPxu0Nvb02l4fzSS1kz1eW6i5x6B0Hs32n oCmqUMb625KUDABnNz62coJKVjqUmrzsXUW8dSQjjcLMKWD6pmaAeZ9ne0UoByc9u2RB ILNITAJCVxjVCNYnSKChNAI9ls8AtIsM0kZRX5HZEPT4p9B+QFqm8vvBjiOQa4IpsRCD MKzMWkmvgLT10nxBe6ltPQAjF53gFSPD9KDdtSlXTQpvAIJ92W5iaSYvbE8y7U0+JTay lzdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W3dXwa5A; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s15si4742850oie.175.2020.03.13.12.53.22; Fri, 13 Mar 2020 12:53:35 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W3dXwa5A; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727563AbgCMTwk (ORCPT + 99 others); Fri, 13 Mar 2020 15:52:40 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:34788 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727509AbgCMTwf (ORCPT ); Fri, 13 Mar 2020 15:52:35 -0400 Received: by mail-qt1-f196.google.com with SMTP id 59so8645107qtb.1 for ; Fri, 13 Mar 2020 12:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+4MuynrCluq7yH2fUxvvPhT+426Ye/ItTPShbrN6qL0=; b=W3dXwa5ADh6VzY0PENH/6FlCz/HOXIuFEHLN91rUNQ3Z50RoOM3r88OUj43tOuRp3k dWWhtWapd4w9kG/mP7CfZjFPDLJ/Z2VVii8r3NN6FNMHf7zQwFf39Ak3QNvtVrKSHyX3 6ZLNzWkN51gDh4CopFasWbk+OsP5wrmajboNfoRrpJ+sv2PdLu7PAjK1TSLTzYsC4khN Wd4r/+wQH6wY8MYbJkZAC1/q74p7vKLF1+G1GlEn1+4fqSpCx6QdJPK/sITU9Rwp2vaj +toXLL5R/8D+izJpe72/0J6ZIYXTN59U30D8z3Z1xRXm+hCLtO/2a/xcLK6wzOJHj6uN 5Exg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+4MuynrCluq7yH2fUxvvPhT+426Ye/ItTPShbrN6qL0=; b=MD1uqin6QXakWxTP55OhaKDPhHduHxiOHVCz3KSeU+HL56hFxqri67xgNTsctS+Daa yumD83SPeadgihUSboWbQfKBy8pZzJILN5Lg0nT9pWvxdkz+Es7nK7Ov9/Qnv+xix0n7 zJ1s2SLO+pWO24X8Uy7Po6Cfhz/GMyJ1n7biDE+MBqWBe25Y3cdzMl4b1BOSbbTChkGK lTOZJyoWnUnCyKS9Vk/3ua+4I9m/mqawMs1wbAqWLOMhl7dsUvT8yD9cpdiFQsfXivnn j8VpFzXc0WRaeA/hKKs28fLaKitdf04YMRwPC3UKM4m9Zxth85asQPu+WdBJdnK8+1F+ QpfQ== X-Gm-Message-State: ANhLgQ1s58yQJzPFpMXKWlKqowI8z1ul9WlaZxnmMP0uflY5NiDcXeb3 hObOLjwi2e4QR85m/JDbQ1S7aR8= X-Received: by 2002:ac8:71d7:: with SMTP id i23mr14308607qtp.250.1584129154199; Fri, 13 Mar 2020 12:52:34 -0700 (PDT) Received: from localhost.localdomain (174-084-153-250.res.spectrum.com. [174.84.153.250]) by smtp.gmail.com with ESMTPSA id i28sm31475599qtc.57.2020.03.13.12.52.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2020 12:52:33 -0700 (PDT) From: Brian Gerst To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Andy Lutomirski , Dominik Brodowski , Brian Gerst Subject: [PATCH v4 18/18] x86: Remove unneeded includes Date: Fri, 13 Mar 2020 15:51:44 -0400 Message-Id: <20200313195144.164260-19-brgerst@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200313195144.164260-1-brgerst@gmail.com> References: <20200313195144.164260-1-brgerst@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clean up includes of and in Signed-off-by: Brian Gerst --- arch/x86/include/asm/syscalls.h | 5 ----- arch/x86/kernel/ldt.c | 1 - arch/x86/kernel/process.c | 1 - arch/x86/kernel/process_32.c | 1 - arch/x86/kernel/process_64.c | 1 - arch/x86/kernel/signal.c | 2 -- arch/x86/kernel/sys_x86_64.c | 1 - 7 files changed, 12 deletions(-) diff --git a/arch/x86/include/asm/syscalls.h b/arch/x86/include/asm/syscalls.h index 06cbdca634d6..6714a358235d 100644 --- a/arch/x86/include/asm/syscalls.h +++ b/arch/x86/include/asm/syscalls.h @@ -8,11 +8,6 @@ #ifndef _ASM_X86_SYSCALLS_H #define _ASM_X86_SYSCALLS_H -#include -#include -#include -#include - /* Common in X86_32 and X86_64 */ /* kernel/ioport.c */ long ksys_ioperm(unsigned long from, unsigned long num, int turn_on); diff --git a/arch/x86/kernel/ldt.c b/arch/x86/kernel/ldt.c index c57e1ca70fd1..84c3ba32f211 100644 --- a/arch/x86/kernel/ldt.c +++ b/arch/x86/kernel/ldt.c @@ -27,7 +27,6 @@ #include #include #include -#include #include /* This is a multiple of PAGE_SIZE. */ diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 070a2af7ce3d..9da70b279dad 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index 5052ced43373..954b013cc585 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c @@ -49,7 +49,6 @@ #include #include -#include #include #include #include diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index ffd497804dbc..5ef9d8f25b0e 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -48,7 +48,6 @@ #include #include #include -#include #include #include #include diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index 860904990b26..0364f8c3bee3 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c @@ -42,8 +42,6 @@ #endif /* CONFIG_X86_64 */ #include -#include - #include #include diff --git a/arch/x86/kernel/sys_x86_64.c b/arch/x86/kernel/sys_x86_64.c index ca3c11a17b5a..504fa5425bce 100644 --- a/arch/x86/kernel/sys_x86_64.c +++ b/arch/x86/kernel/sys_x86_64.c @@ -21,7 +21,6 @@ #include #include -#include /* * Align a virtual address to avoid aliasing in the I$ on AMD F15h. -- 2.24.1