Commit 8e073e50 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] (4/6) alpha fixes

 - (dumb) default_idle() provided (alpha)
parent 4b6cd7a7
......@@ -54,15 +54,21 @@ sys_sethae(unsigned long hae, unsigned long a1, unsigned long a2,
return 0;
}
void default_idle(void)
{
barrier();
}
void
cpu_idle(void)
{
while (1) {
void (*idle)(void) = default_idle;
/* FIXME -- EV6 and LCA45 know how to power down
the CPU. */
while (!need_resched())
barrier();
idle();
schedule();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment