From 4a5941544a8824ae581e60fb3b7c0681e810e310 Mon Sep 17 00:00:00 2001 From: millert Date: Thu, 10 Apr 1997 15:45:25 +0000 Subject: [PATCH] __C -> __abs_c for consistency with usage in tc_* --- sys/arch/alpha/tc/tc_bus_mem.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/sys/arch/alpha/tc/tc_bus_mem.c b/sys/arch/alpha/tc/tc_bus_mem.c index f1fe7f6b7ae..f5dfda85819 100644 --- a/sys/arch/alpha/tc/tc_bus_mem.c +++ b/sys/arch/alpha/tc/tc_bus_mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tc_bus_mem.c,v 1.8 1997/04/10 03:01:05 millert Exp $ */ +/* $OpenBSD: tc_bus_mem.c,v 1.9 1997/04/10 15:45:25 millert Exp $ */ /* $NetBSD: tc_bus_mem.c,v 1.13 1996/12/02 22:19:34 cgd Exp $ */ /* @@ -42,8 +42,6 @@ #include #include -#define __C(A,B) __CONCAT(A,B) - /* mapping/unmapping */ int tc_mem_map __P((void *, bus_addr_t, bus_size_t, int, bus_space_handle_t *)); @@ -643,7 +641,7 @@ tc_mem_copy_N(8) #define tc_mem_read_raw_multi_N(BYTES,TYPE) \ void \ -__C(tc_mem_read_raw_multi_,BYTES)(v, h, o, a, c) \ +__abs_c(tc_mem_read_raw_multi_,BYTES)(v, h, o, a, c) \ void *v; \ bus_space_handle_t h; \ bus_size_t o, c; \ @@ -654,7 +652,7 @@ __C(tc_mem_read_raw_multi_,BYTES)(v, h, o, a, c) \ \ while (c > 0) { \ tc_mem_barrier(v, h, o, BYTES, BUS_BARRIER_READ); \ - temp = __C(tc_mem_read_,BYTES)(v, h, o); \ + temp = __abs_c(tc_mem_read_,BYTES)(v, h, o); \ for (i = 0; i < BYTES; i++) { \ *a++ = temp & 0xff; \ temp >>= 8; \ @@ -668,7 +666,7 @@ tc_mem_read_raw_multi_N(8,u_int64_t) #define tc_mem_write_raw_multi_N(BYTES,TYPE) \ void \ -__C(tc_mem_write_raw_multi_,BYTES)(v, h, o, a, c) \ +__abs_c(tc_mem_write_raw_multi_,BYTES)(v, h, o, a, c) \ void *v; \ bus_space_handle_t h; \ bus_size_t o, c; \ @@ -683,7 +681,7 @@ __C(tc_mem_write_raw_multi_,BYTES)(v, h, o, a, c) \ temp <<= 8; \ temp |= *(a + i); \ } \ - __C(tc_mem_write_,BYTES)(v, h, o, temp); \ + __abs_c(tc_mem_write_,BYTES)(v, h, o, temp); \ tc_mem_barrier(v, h, o, BYTES, BUS_BARRIER_WRITE); \ c -= BYTES; \ a += BYTES; \ -- 2.20.1