WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] rombios: __STRING() is Linux-specific

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] rombios: __STRING() is Linux-specific
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Mar 2009 04:30:35 -0700
Delivery-date: Thu, 12 Mar 2009 04:32:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1236856363 0
# Node ID 55652fa65974af44ec2a2ff124621a5ece6a78a9
# Parent  fd1bbce5d533bf59ba01b1d42b9b1769aacfb5bf
rombios: __STRING() is Linux-specific

Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 tools/firmware/rombios/32bit/pmm.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -r fd1bbce5d533 -r 55652fa65974 tools/firmware/rombios/32bit/pmm.c
--- a/tools/firmware/rombios/32bit/pmm.c        Thu Mar 12 11:10:22 2009 +0000
+++ b/tools/firmware/rombios/32bit/pmm.c        Thu Mar 12 11:12:43 2009 +0000
@@ -71,10 +71,13 @@
 
 #define DEBUG_PMM 0
 
+#define __stringify(a) #a
+#define stringify(a) __stringify(a)
+
 #define ASSERT(_expr, _action)                                  \
     if (!(_expr)) {                                             \
         printf("ASSERTION FAIL: %s %s:%d %s()\n",               \
-               __STRING(_expr), __FILE__, __LINE__, __func__);  \
+               stringify(_expr), __FILE__, __LINE__, __func__); \
         _action;                                                \
     } else
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] rombios: __STRING() is Linux-specific, Xen patchbot-unstable <=