|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] rombios: __STRING() is Linux-specific
# 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 <=
|
|
|
|
|