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
4c34d07e
Commit
4c34d07e
authored
Mar 08, 2003
by
Russell King
Committed by
Linus Torvalds
Mar 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SERIAL] Make uart_tasklet_action take uart_state
parent
2641cc66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/serial/core.c
drivers/serial/core.c
+3
-3
No files found.
drivers/serial/core.c
View file @
4c34d07e
...
@@ -107,10 +107,10 @@ static void uart_start(struct tty_struct *tty)
...
@@ -107,10 +107,10 @@ static void uart_start(struct tty_struct *tty)
static
void
uart_tasklet_action
(
unsigned
long
data
)
static
void
uart_tasklet_action
(
unsigned
long
data
)
{
{
struct
uart_
info
*
info
=
(
struct
uart_info
*
)
data
;
struct
uart_
state
*
state
=
(
struct
uart_state
*
)
data
;
struct
tty_struct
*
tty
;
struct
tty_struct
*
tty
;
tty
=
info
->
tty
;
tty
=
state
->
info
->
tty
;
if
(
tty
)
{
if
(
tty
)
{
if
((
tty
->
flags
&
(
1
<<
TTY_DO_WRITE_WAKEUP
))
&&
if
((
tty
->
flags
&
(
1
<<
TTY_DO_WRITE_WAKEUP
))
&&
tty
->
ldisc
.
write_wakeup
)
tty
->
ldisc
.
write_wakeup
)
...
@@ -1529,7 +1529,7 @@ static struct uart_state *uart_get(struct uart_driver *drv, int line)
...
@@ -1529,7 +1529,7 @@ static struct uart_state *uart_get(struct uart_driver *drv, int line)
state
->
info
->
state
=
state
;
state
->
info
->
state
=
state
;
tasklet_init
(
&
state
->
info
->
tlet
,
uart_tasklet_action
,
tasklet_init
(
&
state
->
info
->
tlet
,
uart_tasklet_action
,
(
unsigned
long
)
state
->
info
);
(
unsigned
long
)
state
);
up
(
&
port_sem
);
up
(
&
port_sem
);
}
else
{
}
else
{
state
->
count
--
;
state
->
count
--
;
...
...
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