diff options
author | imp <imp@FreeBSD.org> | 2005-04-12 23:32:26 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-04-12 23:32:26 +0000 |
commit | 60ff5c6430d70ffd98d4d3efdaf03515ae2dbc49 (patch) | |
tree | 12940f5b16a5c51b0eb9436e4b12bdd98ae29f72 /sys | |
parent | 29641e3ba17a270c4a2552129d335bdfbc2c3a31 (diff) | |
download | FreeBSD-src-60ff5c6430d70ffd98d4d3efdaf03515ae2dbc49.zip FreeBSD-src-60ff5c6430d70ffd98d4d3efdaf03515ae2dbc49.tar.gz |
don't use C keyword register as CPP macro argument name
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ppc/ppc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ppc/ppc.c b/sys/dev/ppc/ppc.c index 0595226..7ae988b 100644 --- a/sys/dev/ppc/ppc.c +++ b/sys/dev/ppc/ppc.c @@ -1343,8 +1343,8 @@ ppc_exec_microseq(device_t dev, struct ppb_microseq **p_msq) /* microsequence registers are equivalent to PC-like port registers */ -#define r_reg(register,ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, register)) -#define w_reg(register, ppc, byte) (bus_space_write_1((ppc)->bst, (ppc)->bsh, register, byte)) +#define r_reg(reg,ppc) (bus_space_read_1((ppc)->bst, (ppc)->bsh, reg)) +#define w_reg(reg, ppc, byte) (bus_space_write_1((ppc)->bst, (ppc)->bsh, reg, byte)) #define INCR_PC (mi ++) /* increment program counter */ |