Dimitry Andric
21673cf0bd
Fix clang 11 inline asm constraint error when building powerpc GENERIC64
kernels:
sys/powerpc/aim/mmu_radix.c:728:19: error: invalid operand for inline asm constraint 'i'
__asm __volatile(PPC_TLBIEL(%0, %1, %2, %3, 1)
^
sys/powerpc/aim/mmu_radix.c:149:3: note: expanded from macro 'PPC_TLBIEL'
__XSTRING(.long PPC_INST_TLBIEL | \
^
sys/sys/cdefs.h:161:22: note: expanded from macro '__XSTRING'
#define __XSTRING(x) __STRING(x) /* expand x, then stringify */
^
sys/sys/cdefs.h:160:21: note: expanded from macro '__STRING'
#define __STRING(x) #x /* stringify without expanding x */
^
<scratch space>:112:1: note: expanded from here
".long 0x7c000224 | (((%0) & 0x1f) << 11) | (((%1) & 0x1f) << 21) | (((%2) & 0x3) << 18) | (((%3) & 0x1) << 17) | (((1) & 0x1) << 16)"
^
This is solved by making the affected inline functions __always_inline.
Suggested by: jhibbits
MFC after: 3 days
2020-08-07 19:32:54 +00:00
..
2020-08-07 19:32:54 +00:00
2020-04-03 20:45:16 +00:00
2020-07-16 23:29:26 +00:00
2020-07-24 08:40:04 +00:00
2019-03-08 03:59:53 +00:00
2020-02-26 14:26:36 +00:00
2020-06-19 18:40:39 +00:00
2017-11-27 15:09:59 +00:00
2020-06-10 04:04:59 +00:00
2020-05-07 19:32:49 +00:00
2020-03-06 23:01:49 +00:00
2020-07-06 15:15:37 +00:00
2020-07-27 16:34:31 +00:00
2020-05-27 01:24:12 +00:00
2020-05-27 01:24:12 +00:00
2019-12-01 20:43:37 +00:00