From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752674AbdBNInu (ORCPT ); Tue, 14 Feb 2017 03:43:50 -0500 Received: from terminus.zytor.com ([65.50.211.136]:59784 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751685AbdBNInt (ORCPT ); Tue, 14 Feb 2017 03:43:49 -0500 Date: Tue, 14 Feb 2017 00:43:02 -0800 From: tip-bot for Sudip Mukherjee Message-ID: Cc: linux-kernel@vger.kernel.org, sudip.mukherjee@codethink.co.uk, sudipm.mukherjee@gmail.com, cmetcalf@mellanox.com, hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de, peterz@infradead.org Reply-To: linux-kernel@vger.kernel.org, sudip.mukherjee@codethink.co.uk, hpa@zytor.com, cmetcalf@mellanox.com, sudipm.mukherjee@gmail.com, mingo@kernel.org, tglx@linutronix.de, peterz@infradead.org In-Reply-To: <1485275961-20112-1-git-send-email-sudip.mukherjee@codethink.co.uk> References: <1485275961-20112-1-git-send-email-sudip.mukherjee@codethink.co.uk> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] math64, tile: Fix build failure Git-Commit-ID: dba9a0babdd938a51d11ae81f9c40d07ca613f43 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: dba9a0babdd938a51d11ae81f9c40d07ca613f43 Gitweb: http://git.kernel.org/tip/dba9a0babdd938a51d11ae81f9c40d07ca613f43 Author: Sudip Mukherjee AuthorDate: Tue, 24 Jan 2017 16:39:21 +0000 Committer: Thomas Gleixner CommitDate: Tue, 14 Feb 2017 09:39:13 +0100 math64, tile: Fix build failure The build of tilegx allmodconfig fails with: ../arch/tile/include/asm/div64.h:5:15: error: unknown type name 'u64' static inline u64 mul_u32_u32(u32 a, u32 b) ^~~ ../arch/tile/include/asm/div64.h:5:31: error: unknown type name 'u32' static inline u64 mul_u32_u32(u32 a, u32 b) ^~~ ../arch/tile/include/asm/div64.h:5:38: error: unknown type name 'u32' static inline u64 mul_u32_u32(u32 a, u32 b) ^~~ In file included from ../fs/ubifs/ubifs.h:26:0, from ../fs/ubifs/shrinker.c:42: ../include/linux/math64.h: In function 'mul_u64_u32_shr': ../arch/tile/include/asm/div64.h:9:21: error: implicit declaration of function 'mul_u32_u32' [-Werror=implicit-function-declaration] Include the linux/types.h in tiles div64.h to slve the problem. Fixes: 9e3d6223d209 ("math64, timers: Fix 32bit mul_u64_u32_shr() and friends") Signed-off-by: Sudip Mukherjee Acked-by: Chris Metcalf Cc: Peter Zijlstra Cc: Sudip Mukherjee Link: http://lkml.kernel.org/r/1485275961-20112-1-git-send-email-sudip.mukherjee@codethink.co.uk Signed-off-by: Thomas Gleixner --- arch/tile/include/asm/div64.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/tile/include/asm/div64.h b/arch/tile/include/asm/div64.h index bf61619..9f765cd 100644 --- a/arch/tile/include/asm/div64.h +++ b/arch/tile/include/asm/div64.h @@ -1,6 +1,8 @@ #ifndef _ASM_TILE_DIV64_H #define _ASM_TILE_DIV64_H +#include + #ifdef __tilegx__ static inline u64 mul_u32_u32(u32 a, u32 b) {