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
e8e42a5c
Commit
e8e42a5c
authored
Mar 07, 2012
by
Richard Kuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hexagon: use renamed tick_nohz_idle_* functions
Signed-off-by:
Richard Kuo
<
rkuo@codeaurora.org
>
parent
6bbbc30c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/hexagon/kernel/process.c
arch/hexagon/kernel/process.c
+3
-3
No files found.
arch/hexagon/kernel/process.c
View file @
e8e42a5c
/*
/*
* Process creation support for Hexagon
* Process creation support for Hexagon
*
*
* Copyright (c) 2010-201
1
, Code Aurora Forum. All rights reserved.
* Copyright (c) 2010-201
2
, Code Aurora Forum. All rights reserved.
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* it under the terms of the GNU General Public License version 2 and
...
@@ -88,7 +88,7 @@ void (*idle_sleep)(void) = default_idle;
...
@@ -88,7 +88,7 @@ void (*idle_sleep)(void) = default_idle;
void
cpu_idle
(
void
)
void
cpu_idle
(
void
)
{
{
while
(
1
)
{
while
(
1
)
{
tick_nohz_
stop_sched_tick
(
1
);
tick_nohz_
idle_enter
(
);
local_irq_disable
();
local_irq_disable
();
while
(
!
need_resched
())
{
while
(
!
need_resched
())
{
idle_sleep
();
idle_sleep
();
...
@@ -97,7 +97,7 @@ void cpu_idle(void)
...
@@ -97,7 +97,7 @@ void cpu_idle(void)
local_irq_disable
();
local_irq_disable
();
}
}
local_irq_enable
();
local_irq_enable
();
tick_nohz_
restart_sched_tick
();
tick_nohz_
idle_exit
();
schedule
();
schedule
();
}
}
}
}
...
...
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