Commit 5c2ea7f7 authored by Michal Suchanek's avatar Michal Suchanek Committed by Greg Kroah-Hartman

powerpc/pseries: include linux/types.h in asm/hvcall.h

commit 1b689a95 upstream.

Commit 6e032b35 ("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: 6e032b35 ("powerpc/powernv: Check device-tree for RFI flush settings")
Signed-off-by: default avatarMichal Suchanek <msuchanek@suse.de>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ba929f5f
...@@ -298,6 +298,7 @@ ...@@ -298,6 +298,7 @@
#define H_CPU_BEHAV_BNDS_CHK_SPEC_BAR (1ull << 61) // IBM bit 2 #define H_CPU_BEHAV_BNDS_CHK_SPEC_BAR (1ull << 61) // IBM bit 2
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/types.h>
/** /**
* plpar_hcall_norets: - Make a pseries hypervisor call with no return arguments * plpar_hcall_norets: - Make a pseries hypervisor call with no return arguments
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment