From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753414AbdBFNtk (ORCPT ); Mon, 6 Feb 2017 08:49:40 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:32782 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752459AbdBFNam (ORCPT ); Mon, 6 Feb 2017 08:30:42 -0500 From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: Andrew Morton , Linus Torvalds , Mike Galbraith , Oleg Nesterov , Peter Zijlstra , Thomas Gleixner Subject: [PATCH 39/89] sched/headers: Remove various unrelated headers from Date: Mon, 6 Feb 2017 14:28:42 +0100 Message-Id: <1486387772-18837-40-git-send-email-mingo@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486387772-18837-1-git-send-email-mingo@kernel.org> References: <1486387772-18837-1-git-send-email-mingo@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the following header inclusions from : #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include because they are either not required, or are already included naturally as part of the remaining headers. ( Fix up a single .c file that got hold of via one of these headers. ) Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Thomas Gleixner Cc: Linus Torvalds Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar --- include/linux/sched.h | 28 ---------------------------- include/linux/user_namespace.h | 1 + 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 9ba2f75dc4c2..e3de6ad359fc 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -5,52 +5,24 @@ #include -#include /* for HZ */ - -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include #include -#include - -#include -#include #include #include #include -#include -#include #include -#include -#include #include -#include #include -#include -#include #include -#include #include #include #include #include -#include -#include #include #include -#include - struct sched_attr; struct sched_param; diff --git a/include/linux/user_namespace.h b/include/linux/user_namespace.h index eb209d4523f5..746ee376e603 100644 --- a/include/linux/user_namespace.h +++ b/include/linux/user_namespace.h @@ -5,6 +5,7 @@ #include #include #include +#include #include #define UID_GID_MAP_MAX_EXTENTS 5 -- 2.7.4