Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967085AbeAONaX (ORCPT + 1 other); Mon, 15 Jan 2018 08:30:23 -0500 Received: from mx2.suse.de ([195.135.220.15]:55835 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966588AbeAONaV (ORCPT ); Mon, 15 Jan 2018 08:30:21 -0500 From: Michal Suchanek To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Philippe Ombredanne , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , David Gibson , Thomas Falcon , Michal Suchanek , "Tobin C. Harding" , Michael Neuling , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] powerpc/pseries: include linux/types.h in asm/hvcall.h Date: Mon, 15 Jan 2018 14:30:03 +0100 Message-Id: <20180115133003.3447-1-msuchanek@suse.de> X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Commit 6e032b350cd1 ("powerpc/powernv: Check device-tree for RFI flush settings") uses u64 in asm/hvcall.h without including linux/types.h This breaks hvcall.h users that do not include the header themselves. Fixes: 6e032b350cd1 ("powerpc/powernv: Check device-tree for RFI flush settings") Signed-off-by: Michal Suchanek --- arch/powerpc/include/asm/hvcall.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/include/asm/hvcall.h b/arch/powerpc/include/asm/hvcall.h index f0461618bf7b..eca3f9c68907 100644 --- a/arch/powerpc/include/asm/hvcall.h +++ b/arch/powerpc/include/asm/hvcall.h @@ -353,6 +353,7 @@ #define PROC_TABLE_GTSE 0x01 #ifndef __ASSEMBLY__ +#include /** * plpar_hcall_norets: - Make a pseries hypervisor call with no return arguments -- 2.13.6