From: Jan Beulich Date: Tue, 29 Mar 2016 15:17:10 +0000 (+0200) Subject: public: drop assembly equates from errno.h again X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1475 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b18c1e6fb93dec9a6861db60af412e4f5a749a04;p=xen.git public: drop assembly equates from errno.h again This wasn't a good idea after all - make them unavailable except for legacy code using an older interface version. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper Acked-by: Tim Deegan --- diff --git a/xen/include/public/errno.h b/xen/include/public/errno.h index a0dd0cfd5b..ebb853a9eb 100644 --- a/xen/include/public/errno.h +++ b/xen/include/public/errno.h @@ -32,7 +32,7 @@ #define XEN_ERRNO(name, value) XEN_##name = value, enum xen_errno { -#else /* !__ASSEMBLY__ */ +#elif __XEN_INTERFACE_VERSION__ < 0x00040700 #define XEN_ERRNO(name, value) .equ XEN_##name, value diff --git a/xen/include/public/xen-compat.h b/xen/include/public/xen-compat.h index 1e62dc12d0..590de76cdc 100644 --- a/xen/include/public/xen-compat.h +++ b/xen/include/public/xen-compat.h @@ -27,7 +27,7 @@ #ifndef __XEN_PUBLIC_XEN_COMPAT_H__ #define __XEN_PUBLIC_XEN_COMPAT_H__ -#define __XEN_LATEST_INTERFACE_VERSION__ 0x00040600 +#define __XEN_LATEST_INTERFACE_VERSION__ 0x00040700 #if defined(__XEN__) || defined(__XEN_TOOLS__) /* Xen is built with matching headers and implements the latest interface. */