Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] dz: remove struct pt_regs references

Remove remaining references to saved registers now that
uart_handle_sysrq_char() does not want them.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Maciej W. Rozycki and committed by
Linus Torvalds
de320199 49015bee

+3 -4
+3 -4
drivers/serial/dz.c
··· 170 170 * This routine deals with inputs from any lines. 171 171 * ------------------------------------------------------------ 172 172 */ 173 - static inline void dz_receive_chars(struct dz_port *dport_in, 174 - struct pt_regs *regs) 173 + static inline void dz_receive_chars(struct dz_port *dport_in) 175 174 { 176 175 struct dz_port *dport; 177 176 struct tty_struct *tty = NULL; ··· 225 226 break; 226 227 } 227 228 228 - if (uart_handle_sysrq_char(&dport->port, ch, regs)) 229 + if (uart_handle_sysrq_char(&dport->port, ch)) 229 230 continue; 230 231 231 232 if ((status & dport->port.ignore_status_mask) == 0) { ··· 331 332 status = dz_in(dport, DZ_CSR); 332 333 333 334 if ((status & (DZ_RDONE | DZ_RIE)) == (DZ_RDONE | DZ_RIE)) 334 - dz_receive_chars(dport, regs); 335 + dz_receive_chars(dport); 335 336 336 337 if ((status & (DZ_TRDY | DZ_TIE)) == (DZ_TRDY | DZ_TIE)) 337 338 dz_transmit_chars(dport);