aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-06-09 13:35:44 -0700
committerHeiko Carstens <heiko.carstens@de.ibm.com>2019-06-11 09:47:10 +0200
commit93c2f55ffc89247079e4eb616c70ecc3c9614b05 (patch)
tree6ec50341bebbbf75f3b9bf54d0f3a3d2b3225706 /drivers/s390/cio
parents390/boot: disable address-of-packed-member warning (diff)
downloadlinux-dev-93c2f55ffc89247079e4eb616c70ecc3c9614b05.tar.xz
linux-dev-93c2f55ffc89247079e4eb616c70ecc3c9614b05.zip
s390/ctl_reg: mark __ctl_set_bit and __ctl_clear_bit as __always_inline
s390:tinyconfig fails to build with gcc 8.3.0. arch/s390/include/asm/ctl_reg.h:52:2: error: impossible constraint in 'asm' asm volatile( \ ^~~ arch/s390/include/asm/ctl_reg.h:62:2: note: in expansion of macro '__ctl_store' __ctl_store(reg, cr, cr); ^~~~~~~~~~~ s390/include/asm/ctl_reg.h:41:2: error: impossible constraint in 'asm' asm volatile( \ ^~~ arch/s390/include/asm/ctl_reg.h:64:2: note: in expansion of macro '__ctl_load' __ctl_load(reg, cr, cr); ^~~~~~~~~~ Marking __ctl_set_bit and __ctl_clear_bit as __always_inline fixes the problem. Fixes: 9012d011660e ("compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio')
0 files changed, 0 insertions, 0 deletions