Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kernel Program Behaviour Models
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixkhals
Kernel Program Behaviour Models
Commits
a8639866
Commit
a8639866
authored
6 years ago
by
benjamit85
Browse files
Options
Downloads
Patches
Plain Diff
Fixing error in task_tick_idle
Deleting unused var in pick_next_task_idle
parent
144253ee
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kernel/sched/idle_task.c
+1
-1
1 addition, 1 deletion
kernel/sched/idle_task.c
with
1 addition
and
1 deletion
kernel/sched/idle_task.c
+
1
−
1
View file @
a8639866
...
@@ -27,7 +27,6 @@ static struct task_struct *
...
@@ -27,7 +27,6 @@ static struct task_struct *
pick_next_task_idle
(
struct
rq
*
rq
,
struct
task_struct
*
prev
,
struct
rq_flags
*
rf
)
pick_next_task_idle
(
struct
rq
*
rq
,
struct
task_struct
*
prev
,
struct
rq_flags
*
rf
)
{
{
int
next_mode
;
int
next_mode
;
struct
pb_rq
*
pb
=
&
(
rq
->
pb
);
next_mode
=
determine_next_mode_pb
(
rq
);
next_mode
=
determine_next_mode_pb
(
rq
);
...
@@ -62,6 +61,7 @@ static void put_prev_task_idle(struct rq *rq, struct task_struct *prev)
...
@@ -62,6 +61,7 @@ static void put_prev_task_idle(struct rq *rq, struct task_struct *prev)
static
void
task_tick_idle
(
struct
rq
*
rq
,
struct
task_struct
*
curr
,
int
queued
)
static
void
task_tick_idle
(
struct
rq
*
rq
,
struct
task_struct
*
curr
,
int
queued
)
{
{
struct
pb_rq
*
pb
=
&
(
rq
->
pb
);
int
next_mode
;
int
next_mode
;
if
(
pb
->
mode
==
PB_ADMIN_MODE
){
if
(
pb
->
mode
==
PB_ADMIN_MODE
){
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment