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
55f9e9a3
Commit
55f9e9a3
authored
Jul 28, 2009
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rt/atomic-locks' into rt/base
parents
54b371e0
89c94487
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
kernel/sched.c
kernel/sched.c
+4
-4
No files found.
kernel/sched.c
View file @
55f9e9a3
...
...
@@ -946,9 +946,9 @@ static inline void prepare_lock_switch(struct rq *rq, struct task_struct *next)
next
->
oncpu
=
1
;
#endif
#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
spin_unlock_irq
(
&
rq
->
lock
);
atomic_
spin_unlock_irq
(
&
rq
->
lock
);
#else
spin_unlock
(
&
rq
->
lock
);
atomic_
spin_unlock
(
&
rq
->
lock
);
#endif
}
...
...
@@ -10183,9 +10183,9 @@ static int sched_rt_global_constraints(void)
for_each_possible_cpu
(
i
)
{
struct
rt_rq
*
rt_rq
=
&
cpu_rq
(
i
)
->
rt
;
spin_lock
(
&
rt_rq
->
rt_runtime_lock
);
atomic_
spin_lock
(
&
rt_rq
->
rt_runtime_lock
);
rt_rq
->
rt_runtime
=
global_rt_runtime
();
spin_unlock
(
&
rt_rq
->
rt_runtime_lock
);
atomic_
spin_unlock
(
&
rt_rq
->
rt_runtime_lock
);
}
atomic_spin_unlock_irqrestore
(
&
def_rt_bandwidth
.
rt_runtime_lock
,
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