Re: [Xen-devel] [PATCH] x86/tss: Fix clang build following c/s 7888440625

2019-08-27 Thread Jan Beulich
On 13.08.2019 14:01, Andrew Cooper wrote: Clang-3.5 from Debian Jessie fails with: smpboot.c:829:29: error: statement expression not allowed at file scope BUILD_BUG_ON(sizeof(this_cpu(tss_page)) != PAGE_SIZE); ^ /local/xen.git/xen/include/asm/percp

Re: [Xen-devel] [PATCH] x86/tss: Fix clang build following c/s 7888440625

2019-08-14 Thread Wei Liu
On Tue, Aug 13, 2019 at 01:01:17PM +0100, Andrew Cooper wrote: > Clang-3.5 from Debian Jessie fails with: > > smpboot.c:829:29: error: statement expression not allowed at file scope > BUILD_BUG_ON(sizeof(this_cpu(tss_page)) != PAGE_SIZE); > ^ > /local/xe

[Xen-devel] [PATCH] x86/tss: Fix clang build following c/s 7888440625

2019-08-13 Thread Andrew Cooper
Clang-3.5 from Debian Jessie fails with: smpboot.c:829:29: error: statement expression not allowed at file scope BUILD_BUG_ON(sizeof(this_cpu(tss_page)) != PAGE_SIZE); ^ /local/xen.git/xen/include/asm/percpu.h:14:7: note: expanded from macro 't