Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
4eec1a1e
Commit
4eec1a1e
authored
Aug 17, 2009
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rt/local-irq' into rt/base
parents
21478b2e
b67602a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/char/tty_ldisc.c
drivers/char/tty_ldisc.c
+2
-2
No files found.
drivers/char/tty_ldisc.c
View file @
4eec1a1e
...
@@ -69,7 +69,7 @@ static void put_ldisc(struct tty_ldisc *ld)
...
@@ -69,7 +69,7 @@ static void put_ldisc(struct tty_ldisc *ld)
* We really want an "atomic_dec_and_lock_irqsave()",
* We really want an "atomic_dec_and_lock_irqsave()",
* but we don't have it, so this does it by hand.
* but we don't have it, so this does it by hand.
*/
*/
local_irq_save
(
flags
);
local_irq_save
_nort
(
flags
);
if
(
atomic_dec_and_lock
(
&
ld
->
users
,
&
tty_ldisc_lock
))
{
if
(
atomic_dec_and_lock
(
&
ld
->
users
,
&
tty_ldisc_lock
))
{
struct
tty_ldisc_ops
*
ldo
=
ld
->
ops
;
struct
tty_ldisc_ops
*
ldo
=
ld
->
ops
;
...
@@ -80,7 +80,7 @@ static void put_ldisc(struct tty_ldisc *ld)
...
@@ -80,7 +80,7 @@ static void put_ldisc(struct tty_ldisc *ld)
kfree
(
ld
);
kfree
(
ld
);
return
;
return
;
}
}
local_irq_restore
(
flags
);
local_irq_restore
_nort
(
flags
);
}
}
/**
/**
...
...
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