提交 771c24f6 编写于 作者: H Heiko Carstens 提交者: Vasily Gorbik

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: NMichal Kubecek <mkubecek@suse.cz>
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NVasily Gorbik <gor@linux.ibm.com>
上级 6818b542
...@@ -66,7 +66,7 @@ static inline int clp_get_ilp(unsigned long *ilp) ...@@ -66,7 +66,7 @@ static inline int clp_get_ilp(unsigned long *ilp)
/* /*
* Call Logical Processor with c=0, the give constant lps and an lpcb request. * Call Logical Processor with c=0, the give constant lps and an lpcb request.
*/ */
static inline int clp_req(void *data, unsigned int lps) static __always_inline int clp_req(void *data, unsigned int lps)
{ {
struct { u8 _[CLP_BLK_SIZE]; } *req = data; struct { u8 _[CLP_BLK_SIZE]; } *req = data;
u64 ignored; u64 ignored;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册