commit | 042eb37a04c9bf0cc76d14038a8ed35e3de713e2 | [log] [tgz] |
---|---|---|
author | Daniel Jacobowitz <drow@false.org> | Sun Sep 13 09:54:41 2009 -0400 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Mon Sep 14 11:16:50 2009 +0200 |
tree | 1580334ffcd321d7a06f20082b4598acf93fb325 | |
parent | fad8c772ef4acda9d35a4c626aa869330e3b3659 [diff] |
Fix Linux task preemption on Versatile board Recent versions of the Linux kernel will not preempt CPU-intensive tasks unless the clock used by sched_clock() works. On -M versatilepb that's the 24MHz timer in the system controller. It's a very simple timer, so implement it. Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>