Skip to content

Commit 771c24f

Browse files
heicarstVasily Gorbik
authored andcommitted
s390/pci: mark function(s) __always_inline
Always inline asm inlines with variable operands for "i" constraints, since they won't compile if the compiler would decide to not inline them. Reported-by: Michal Kubecek <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent 6818b54 commit 771c24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/s390/pci/pci_clp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static inline int clp_get_ilp(unsigned long *ilp)
6666
/*
6767
* Call Logical Processor with c=0, the give constant lps and an lpcb request.
6868
*/
69-
static inline int clp_req(void *data, unsigned int lps)
69+
static __always_inline int clp_req(void *data, unsigned int lps)
7070
{
7171
struct { u8 _[CLP_BLK_SIZE]; } *req = data;
7272
u64 ignored;

0 commit comments

Comments
 (0)