diff options
author | obrien <obrien@FreeBSD.org> | 2002-04-17 04:31:43 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-04-17 04:31:43 +0000 |
commit | acb7650f5aa1a519c5e7b0f2663e8cc9dcc098d3 (patch) | |
tree | 201d20264a29d188d4766c369cd1a3e25204eb2a /sys/alpha/pci/tsunami_pci.c | |
parent | 5179fb1e799bce20128063196ea5cb6cdef6db38 (diff) | |
download | FreeBSD-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/pci/tsunami_pci.c')
-rw-r--r-- | sys/alpha/pci/tsunami_pci.c | 4 |
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) |