From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F356C43334 for ; Fri, 3 Jun 2022 17:10:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344240AbiFCRKX (ORCPT ); Fri, 3 Jun 2022 13:10:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230480AbiFCRKV (ORCPT ); Fri, 3 Jun 2022 13:10:21 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98247B842 for ; Fri, 3 Jun 2022 10:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654276218; x=1685812218; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=oWgzYikdcznM4neHgtRepOWEdSTD4JfGjPhc69T4sPU=; b=A4xGb90u8psiqSkfjR7DMji68wE/NZjK0ELNuNR2+KNhCcst7EPpu3eS qxKzVf5Nf3I34I0lX6onrLA7j1Brj5rc8QEa5+OSAL/+vkaNzDZ88DE7z IMm04OaduV0vnvy1e7Qwb+PG1ahqyxaPFEaariMMyjGPG3JzE2l8rw80Q cb1T17iCYbZyRykgtxFXyx2oHo8fMJY6DQPeTn38bFMuBSHoJbKVdwv8E xS32o84nqXss8u2F1NtP6A0BzAgT+jowIA8a4w9q3TlUYQutUuHQe0nOw Rhf9q3z8ADIl39TyuM8FwLCAjwciawFj3i/528LB30NyDRwB+9kWkfyC3 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10367"; a="275101841" X-IronPort-AV: E=Sophos;i="5.91,275,1647327600"; d="scan'208";a="275101841" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2022 10:10:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,275,1647327600"; d="scan'208";a="578111122" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga007.jf.intel.com with ESMTP; 03 Jun 2022 10:10:14 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id A5D52F8; Fri, 3 Jun 2022 20:10:17 +0300 (EEST) From: Andy Shevchenko To: Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org Cc: Andrew Morton , Andy Shevchenko Subject: [PATCH v1 1/1] rbtree: Replace kernel.h with the necessary inclusions Date: Fri, 3 Jun 2022 20:10:12 +0300 Message-Id: <20220603171012.48880-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved. Replace kernel.h inclusion with the list of what is really being used. Signed-off-by: Andy Shevchenko --- include/linux/rbtree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h index 235047d7a1b5..f7edca369eda 100644 --- a/include/linux/rbtree.h +++ b/include/linux/rbtree.h @@ -17,9 +17,9 @@ #ifndef _LINUX_RBTREE_H #define _LINUX_RBTREE_H +#include #include -#include #include #include -- 2.35.1