summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-17 04:31:43 +0000
committerobrien <obrien@FreeBSD.org>2002-04-17 04:31:43 +0000
commitacb7650f5aa1a519c5e7b0f2663e8cc9dcc098d3 (patch)
tree201d20264a29d188d4766c369cd1a3e25204eb2a /sys/alpha
parent5179fb1e799bce20128063196ea5cb6cdef6db38 (diff)
downloadFreeBSD-src-acb7650f5aa1a519c5e7b0f2663e8cc9dcc098d3.zip
FreeBSD-src-acb7650f5aa1a519c5e7b0f2663e8cc9dcc098d3.tar.gz
I am not sure why ## was used in this macro, as w/o the string concatenation
the tokens are legal ANSI-C. Maybe to enable 'op' to be a macro itself? Anyway, with the ## concatenation Gcc 3.1's integrated `cpp' treats "=op(" as a single token vs. the three tokens it is.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/pci/tsunami_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/pci/tsunami_pci.c b/sys/alpha/pci/tsunami_pci.c
index 9af0ddc..c349be8 100644
--- a/sys/alpha/pci/tsunami_pci.c
+++ b/sys/alpha/pci/tsunami_pci.c
@@ -201,7 +201,7 @@ tsunami_check_abort(void)
tsunami_check_abort(); \
return ~0; \
} \
- data = ##op##(va); \
+ data = op(va); \
if (tsunami_check_abort()) \
return ~0; \
return data; \
@@ -213,7 +213,7 @@ tsunami_check_abort(void)
tsunami_clear_abort(); \
if (badaddr((caddr_t)va, width)) \
return; \
- ##op##(va, data); \
+ op(va, data); \
tsunami_check_abort(); \
} while (0)
OpenPOWER on IntegriCloud