* [PATCH] public: drop assembly equates from errno.h again
@ 2016-03-24 14:33 Jan Beulich
2016-03-24 14:37 ` Andrew Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2016-03-24 14:33 UTC (permalink / raw)
To: xen-devel; +Cc: Andrew Cooper, Keir Fraser, Ian Jackson, Tim Deegan
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
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 <jbeulich@suse.com>
--- 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
--- 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. */
[-- Attachment #2: errno-no-asm.patch --]
[-- Type: text/plain, Size: 936 bytes --]
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 <jbeulich@suse.com>
--- 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
--- 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. */
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] public: drop assembly equates from errno.h again
2016-03-24 14:33 [PATCH] public: drop assembly equates from errno.h again Jan Beulich
@ 2016-03-24 14:37 ` Andrew Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cooper @ 2016-03-24 14:37 UTC (permalink / raw)
To: Jan Beulich, xen-devel; +Cc: Keir Fraser, Ian Jackson, Tim Deegan
On 24/03/16 14:33, Jan Beulich wrote:
> 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 <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-24 14:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-24 14:33 [PATCH] public: drop assembly equates from errno.h again Jan Beulich
2016-03-24 14:37 ` Andrew Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).