From acb7650f5aa1a519c5e7b0f2663e8cc9dcc098d3 Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 17 Apr 2002 04:31:43 +0000 Subject: 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. --- sys/alpha/pci/tsunami_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/alpha') 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) -- cgit v1.1