diff options
| author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-04-08 21:39:22 +0200 | 
|---|---|---|
| committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-04-08 21:39:22 +0200 | 
| commit | 7c91d302ffe2ffac813c47d6ba2e7489a2ccb35f (patch) | |
| tree | 78a2cf601e986694765b28079bf749a8eaa6a2b9 /arch/um/drivers/chan_user.c | |
| parent | 0b824f8dad9fdfc7c1bf9c1d3ac744075eb73ec6 (diff) | |
| parent | 918d7f6f68620e0721bb31402ebf87e15f826831 (diff) | |
| download | olio-linux-3.10-7c91d302ffe2ffac813c47d6ba2e7489a2ccb35f.tar.xz olio-linux-3.10-7c91d302ffe2ffac813c47d6ba2e7489a2ccb35f.zip | |
Merge remote-tracking branch 'clk/clk-for-3.10' into sunxi/core-for-3.10
Diffstat (limited to 'arch/um/drivers/chan_user.c')
| -rw-r--r-- | arch/um/drivers/chan_user.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/arch/um/drivers/chan_user.c b/arch/um/drivers/chan_user.c index 9be670ad23b..3fd7c3efdb1 100644 --- a/arch/um/drivers/chan_user.c +++ b/arch/um/drivers/chan_user.c @@ -216,7 +216,7 @@ static int winch_thread(void *arg)  	}  } -static int winch_tramp(int fd, struct tty_struct *tty, int *fd_out, +static int winch_tramp(int fd, struct tty_port *port, int *fd_out,  		       unsigned long *stack_out)  {  	struct winch_data data; @@ -271,7 +271,7 @@ static int winch_tramp(int fd, struct tty_struct *tty, int *fd_out,  	return err;  } -void register_winch(int fd, struct tty_struct *tty) +void register_winch(int fd, struct tty_port *port)  {  	unsigned long stack;  	int pid, thread, count, thread_fd = -1; @@ -281,17 +281,17 @@ void register_winch(int fd, struct tty_struct *tty)  		return;  	pid = tcgetpgrp(fd); -	if (is_skas_winch(pid, fd, tty)) { -		register_winch_irq(-1, fd, -1, tty, 0); +	if (is_skas_winch(pid, fd, port)) { +		register_winch_irq(-1, fd, -1, port, 0);  		return;  	}  	if (pid == -1) { -		thread = winch_tramp(fd, tty, &thread_fd, &stack); +		thread = winch_tramp(fd, port, &thread_fd, &stack);  		if (thread < 0)  			return; -		register_winch_irq(thread_fd, fd, thread, tty, stack); +		register_winch_irq(thread_fd, fd, thread, port, stack);  		count = write(thread_fd, &c, sizeof(c));  		if (count != sizeof(c)) |