git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
char
/
tty_ioctl.c
diff --git
a/drivers/char/tty_ioctl.c
b/drivers/char/tty_ioctl.c
index
830c665
..
5859799
100644
(file)
--- a/
drivers/char/tty_ioctl.c
+++ b/
drivers/char/tty_ioctl.c
@@
-19,9
+19,9
@@
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/module.h>
+#include <linux/bitops.h>
#include <asm/io.h>
#include <asm/io.h>
-#include <asm/bitops.h>
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/uaccess.h>
#include <asm/system.h>
@@
-372,7
+372,7
@@
static int set_ltchars(struct tty_struct * tty, struct ltchars __user * ltchars)
/*
* Send a high priority character to the tty.
*/
/*
* Send a high priority character to the tty.
*/
-void send_prio_char(struct tty_struct *tty, char ch)
+
static
void send_prio_char(struct tty_struct *tty, char ch)
{
int was_stopped = tty->stopped;
{
int was_stopped = tty->stopped;
@@
-382,7
+382,7
@@
void send_prio_char(struct tty_struct *tty, char ch)
}
if (was_stopped)
start_tty(tty);
}
if (was_stopped)
start_tty(tty);
- tty->driver->write(tty,
0,
&ch, 1);
+ tty->driver->write(tty, &ch, 1);
if (was_stopped)
stop_tty(tty);
}
if (was_stopped)
stop_tty(tty);
}