Skip to content

Commit

Permalink
powerpc/pseries: include linux/types.h in asm/hvcall.h
Browse files Browse the repository at this point in the history
Commit 6e032b3 ("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: 6e032b3 ("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>
  • Loading branch information
Michal Suchanek authored and Michael Ellerman committed Jan 17, 2018
1 parent 236003e commit 1b689a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/include/asm/hvcall.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1b689a9

Please sign in to comment.