diff options
Diffstat (limited to 'arch/mips/sibyte/swarm/dbg_io.c')
-rw-r--r-- | arch/mips/sibyte/swarm/dbg_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sibyte/swarm/dbg_io.c b/arch/mips/sibyte/swarm/dbg_io.c index 75ce14c8eb69..b97ae3048482 100644 --- a/arch/mips/sibyte/swarm/dbg_io.c +++ b/arch/mips/sibyte/swarm/dbg_io.c | |||
@@ -37,8 +37,8 @@ static int duart_initialized = 0; /* 0: need to be init'ed by kgdb */ | |||
37 | /* -------------------- END OF CONFIG --------------------- */ | 37 | /* -------------------- END OF CONFIG --------------------- */ |
38 | extern int kgdb_port; | 38 | extern int kgdb_port; |
39 | 39 | ||
40 | #define duart_out(reg, val) csr_out32(val, IOADDR(A_DUART_CHANREG(kgdb_port,reg))) | 40 | #define duart_out(reg, val) csr_out32(val, IOADDR(A_DUART_CHANREG(kgdb_port, reg))) |
41 | #define duart_in(reg) csr_in32(IOADDR(A_DUART_CHANREG(kgdb_port,reg))) | 41 | #define duart_in(reg) csr_in32(IOADDR(A_DUART_CHANREG(kgdb_port, reg))) |
42 | 42 | ||
43 | void putDebugChar(unsigned char c); | 43 | void putDebugChar(unsigned char c); |
44 | unsigned char getDebugChar(void); | 44 | unsigned char getDebugChar(void); |