From 200e654a4a4f98d30043ce3ea9ea63cee5bd7bc0 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 17 Apr 2002 04:31:43 +0000 Subject: [PATCH] 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(-) diff --git a/sys/alpha/pci/tsunami_pci.c b/sys/alpha/pci/tsunami_pci.c index 9af0ddcf711..c349be889e9 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)