mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
[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>
This commit is contained in:
parent
49015bee40
commit
de320199c0
1 changed files with 3 additions and 4 deletions
|
@ -170,8 +170,7 @@ static void dz_enable_ms(struct uart_port *port)
|
||||||
* This routine deals with inputs from any lines.
|
* This routine deals with inputs from any lines.
|
||||||
* ------------------------------------------------------------
|
* ------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
static inline void dz_receive_chars(struct dz_port *dport_in,
|
static inline void dz_receive_chars(struct dz_port *dport_in)
|
||||||
struct pt_regs *regs)
|
|
||||||
{
|
{
|
||||||
struct dz_port *dport;
|
struct dz_port *dport;
|
||||||
struct tty_struct *tty = NULL;
|
struct tty_struct *tty = NULL;
|
||||||
|
@ -226,7 +225,7 @@ static inline void dz_receive_chars(struct dz_port *dport_in,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (uart_handle_sysrq_char(&dport->port, ch, regs))
|
if (uart_handle_sysrq_char(&dport->port, ch))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ((status & dport->port.ignore_status_mask) == 0) {
|
if ((status & dport->port.ignore_status_mask) == 0) {
|
||||||
|
@ -332,7 +331,7 @@ static irqreturn_t dz_interrupt(int irq, void *dev)
|
||||||
status = dz_in(dport, DZ_CSR);
|
status = dz_in(dport, DZ_CSR);
|
||||||
|
|
||||||
if ((status & (DZ_RDONE | DZ_RIE)) == (DZ_RDONE | DZ_RIE))
|
if ((status & (DZ_RDONE | DZ_RIE)) == (DZ_RDONE | DZ_RIE))
|
||||||
dz_receive_chars(dport, regs);
|
dz_receive_chars(dport);
|
||||||
|
|
||||||
if ((status & (DZ_TRDY | DZ_TIE)) == (DZ_TRDY | DZ_TIE))
|
if ((status & (DZ_TRDY | DZ_TIE)) == (DZ_TRDY | DZ_TIE))
|
||||||
dz_transmit_chars(dport);
|
dz_transmit_chars(dport);
|
||||||
|
|
Loading…
Reference in a new issue