Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8399032imu; Fri, 28 Dec 2018 17:32:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/VPG1nwA/HO5WxTOnTw+htEuXZcUoEqz4zHpAAnXzBQCvJ+9eAGvuNu8/KDuaFWOMSqhg/b X-Received: by 2002:a62:444b:: with SMTP id r72mr30647108pfa.184.1546047166250; Fri, 28 Dec 2018 17:32:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546047166; cv=none; d=google.com; s=arc-20160816; b=XIVQUdv8PSHQIDrx85sIhmEnJpyOz2c40u0qomrsP5b06PAHpuMf+Nv5WO3O0FdrlY SgNKSG+1Wjiy7p97YC47Lx9P1ExsJWg1wV7M8dOe37S/HXfNzLcIUtBU65oKG8tINzet kUC9/dXgMmHVzVxTmrS2FGGn+RpW16srxhTcUWhQ+SyTD3lCzuTWrJvtEx+J2XAcPygc V8b9FBfkAyJqTL+5Z5LF/lptl49Pw1/jTfLj1vOCCO6Pygv+MEMO4mPxGkRQEMm5+rKE gQ2PD5e06Ka+xEEkzkHK9SkCThqT/dvqYh4JEKlRl7efWx0P17u9lpyfzf0P5gesnNLz n2Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:message-id:date:subject:cc :to:from; bh=eVfBHcclZTX2zF5MW20ec15T/wrEgt9TMshNMCRdvuI=; b=I9MqAhiKt8dQ52THuen6Rz3G6bi6Kbkp0BeaEMDfRBH3sk0sFSEF/oRAq1b75xe3Ev S55DT4VZ9sR6zqI9R1aSc5cffaB5qCOcqA4fJmS/eXW8ONCaFoCbiQwcQe0WJT3OM8ZK MLbdn3uYY6TnHVq26SZSp/2LgVqo5YnngP2m7boM1S8JTf+VeaKlgAfPAl75wYifjWj4 aNbTBo/aCilcjwkmJZabE74soM0bDmwZy99p08ZmrTyWcKYU7aUQKZOx8X+vsSOIcp2U agxq+lZ+DtEjOQLtDalcU3VJ46vsdEIMiMyA20ShvUHzPsryXwXhx+DzsTyO2+i93IuC b3nA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k38si9902994pgi.235.2018.12.28.17.32.31; Fri, 28 Dec 2018 17:32:46 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731798AbeL1PeJ (ORCPT + 99 others); Fri, 28 Dec 2018 10:34:09 -0500 Received: from mga03.intel.com ([134.134.136.65]:47516 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729060AbeL1PeI (ORCPT ); Fri, 28 Dec 2018 10:34:08 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Dec 2018 07:34:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,410,1539673200"; d="scan'208";a="133497180" Received: from dlipka-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.42.217]) by fmsmga001.fm.intel.com with ESMTP; 28 Dec 2018 07:34:06 -0800 From: Jani Nikula To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org Cc: jani.nikula@intel.com Subject: [PATCH] kernel.h: unconditionally include asm/div64.h for do_div() Date: Fri, 28 Dec 2018 17:34:30 +0200 Message-Id: <20181228153430.23763-1-jani.nikula@intel.com> X-Mailer: git-send-email 2.11.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Include asm/div64.h for do_div() usage in DIV_ROUND_DOWN_ULL() and DIV_ROUND_CLOSEST_ULL(). Remove the old CONFIG_LBDAF=y conditional include. Signed-off-by: Jani Nikula --- include/linux/kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/kernel.h b/include/linux/kernel.h index d6aac75b51ba..20e3a87d31d6 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #define USHRT_MAX ((u16)(~0U)) @@ -204,7 +205,6 @@ #define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) #ifdef CONFIG_LBDAF -# include # define sector_div(a, b) do_div(a, b) #else # define sector_div(n, b)( \ -- 2.11.0