Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4ec939e7
Commit
4ec939e7
authored
Feb 15, 2003
by
Andries E. Brouwer
Committed by
Linus Torvalds
Feb 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] add static, fix typo
parent
5c369e3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/char/tty_io.c
drivers/char/tty_io.c
+1
-1
drivers/char/vt.c
drivers/char/vt.c
+3
-3
No files found.
drivers/char/tty_io.c
View file @
4ec939e7
...
...
@@ -2043,7 +2043,7 @@ static void initialize_tty_struct(struct tty_struct *tty)
/*
* The default put_char routine if the driver did not define one.
*/
void
tty_default_put_char
(
struct
tty_struct
*
tty
,
unsigned
char
ch
)
static
void
tty_default_put_char
(
struct
tty_struct
*
tty
,
unsigned
char
ch
)
{
tty
->
driver
.
write
(
tty
,
0
,
&
ch
,
1
);
}
...
...
drivers/char/vt.c
View file @
4ec939e7
...
...
@@ -2101,7 +2101,7 @@ void vt_console_print(struct console *co, const char * b, unsigned count)
if
(
kmsg_redirect
&&
vc_cons_allocated
(
kmsg_redirect
-
1
))
currcons
=
kmsg_redirect
-
1
;
/* read `x' only after setting curr
e
cons properly (otherwise
/* read `x' only after setting currcons properly (otherwise
the `x' macro will read the x of the foreground console). */
myx
=
x
;
...
...
@@ -2198,8 +2198,8 @@ struct console vt_console_driver = {
*
* There are some functions which don't need it.
*
* There are some functions which can sleep for arbitrary periods
(paste_selection)
* but we don't need the lock there anyway.
* There are some functions which can sleep for arbitrary periods
*
(paste_selection)
but we don't need the lock there anyway.
*
* set_selection has locking, and definitely needs it
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment