HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Coccinelle release 1.0.0-rc1
[bpt/coccinelle.git]
/
tests
/
jloop1.res
1
void cpu_idle(void)
2
{
3
local_fiq_enable();
4
5
/* endless idle loop with no priority at all */
6
while (1) {
7
if (!idle)
8
idle = default_idle;
9
preempt_disable();
10
leds_event(led_idle_start);
11
while (!need_resched())
12
nkidle();
13
leds_event(led_idle_end);
14
preempt_enable();
15
schedule();
16
}
17
}