diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2012-03-07 20:51:03 +0100 |
|---|---|---|
| committer | Clark Williams <williams@redhat.com> | 2012-04-10 16:37:37 -0500 |
| commit | 0913a1bfd8dfb4f78350ac5718019c932fb61ba1 (patch) | |
| tree | 9278c5d7973917458102da0e12fd394a1377edb5 /drivers/net/usb/zaurus.c | |
| parent | 7f4e9c937f167facb082619f78a5592587b5e567 (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 'drivers/net/usb/zaurus.c')
0 files changed, 0 insertions, 0 deletions
