Fix Linux task preemption on Versatile board
commitbdebf0094c7e147daac27236b5388910e9deb6a4
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 14 Sep 2009 22:30:41 +0000 (15 00:30 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 14 Sep 2009 22:30:41 +0000 (15 00:30 +0200)
tree4b85f3ac114e5d693c84a17af6b7427f75172503
parent530942382809bfda7aa19d5f9007a6e31f0594e0
Fix Linux task preemption on Versatile board

Backport from master:

  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>
hw/arm_sysctl.c