Re: [Xen-devel] [PATCH] xen/trace: Fix build with !CONFIG_TRACEBUFFER

2019-07-18 Thread Jan Beulich
On 18.07.2019 16:00, Andrew Cooper wrote: > GCC reports: > > In file included from hvm.c:24:0: > /local/xen.git/xen/include/xen/trace.h: In function ‘tb_control’: > /local/xen.git/xen/include/xen/trace.h:60:13: error: ‘ENOSYS’ > undeclared (first use in this function) > return -ENOSYS; >

[Xen-devel] [PATCH] xen/trace: Fix build with !CONFIG_TRACEBUFFER

2019-07-18 Thread Andrew Cooper
GCC reports: In file included from hvm.c:24:0: /local/xen.git/xen/include/xen/trace.h: In function ‘tb_control’: /local/xen.git/xen/include/xen/trace.h:60:13: error: ‘ENOSYS’ undeclared (first use in this function) return -ENOSYS; ^~ Include xen/errno.h to resolve the issue.