LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 2.6.21-rc2] dz: Remove struct pt_regs references
@ 2007-03-01 13:57 Maciej W. Rozycki
  0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2007-03-01 13:57 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mips

 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>
---

 The driver does not build without this update.

 Please apply.

  Maciej

patch-mips-2.6.21-rc1-20070222-dz-pt_regs-0
diff -up --recursive --new-file linux-mips-2.6.21-rc1-20070222.macro/drivers/serial/dz.c linux-mips-2.6.21-rc1-20070222/drivers/serial/dz.c
--- linux-mips-2.6.21-rc1-20070222.macro/drivers/serial/dz.c	2007-02-05 16:38:50.000000000 +0000
+++ linux-mips-2.6.21-rc1-20070222/drivers/serial/dz.c	2007-03-01 01:36:56.000000000 +0000
@@ -170,8 +170,7 @@ static void dz_enable_ms(struct uart_por
  * This routine deals with inputs from any lines.
  * ------------------------------------------------------------
  */
-static inline void dz_receive_chars(struct dz_port *dport_in,
-				    struct pt_regs *regs)
+static inline void dz_receive_chars(struct dz_port *dport_in)
 {
 	struct dz_port *dport;
 	struct tty_struct *tty = NULL;
@@ -226,7 +225,7 @@ static inline void dz_receive_chars(stru
 			break;
 		}
 
-		if (uart_handle_sysrq_char(&dport->port, ch, regs))
+		if (uart_handle_sysrq_char(&dport->port, ch))
 			continue;
 
 		if ((status & dport->port.ignore_status_mask) == 0) {
@@ -332,7 +331,7 @@ static irqreturn_t dz_interrupt(int irq,
 	status = dz_in(dport, DZ_CSR);
 
 	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))
 		dz_transmit_chars(dport);
patch-mips-2.6.21-rc1-20070222-dz-pt_regs-0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-01 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-01 13:57 [PATCH 2.6.21-rc2] dz: Remove struct pt_regs references Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).