summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2018-01-15 14:30:03 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-17 23:30:46 +1100
commit1b689a95ce7427075f9ac9fb4aea1af530742b7f (patch)
tree8bbf5afc445e73beea6251d97dc27d3799e54a72 /arch/powerpc
parent236003e6b5443c45c18e613d2b0d776a9f87540e (diff)
downloadtalos-obmc-linux-1b689a95ce7427075f9ac9fb4aea1af530742b7f.tar.gz
talos-obmc-linux-1b689a95ce7427075f9ac9fb4aea1af530742b7f.zip
powerpc/pseries: include linux/types.h in asm/hvcall.h
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 <msuchanek@suse.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/hvcall.h1
1 files changed, 1 insertions, 0 deletions
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 <linux/types.h>
/**
* plpar_hcall_norets: - Make a pseries hypervisor call with no return arguments
OpenPOWER on IntegriCloud