diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2012-03-07 20:51:03 +0100 |
|---|---|---|
| committer | Clark Williams <williams@redhat.com> | 2012-04-13 11:01:53 -0500 |
| commit | af76c3a57174a94065c4d4dedaea72bdded95f2a (patch) | |
| tree | 3450224a697c6020acc806e3938fb278a9e75aff /include/linux/radeonfb.h | |
| parent | 83b72f185a46187c721ec38b6bff0acf56c6713d (diff) | |
rt: Introduce cpu_chill()
Retry loops on RT might loop forever when the modifying side was
preempted. Add cpu_chill() to replace cpu_relax(). cpu_chill()
defaults to cpu_relax() for non RT. On RT it puts the looping task to
sleep for a tick so the preempted task can make progress.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable-rt@vger.kernel.org
Diffstat (limited to 'include/linux/radeonfb.h')
0 files changed, 0 insertions, 0 deletions
