summaryrefslogtreecommitdiff
path: root/drivers/net/usb/zaurus.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-03-07 20:51:03 +0100
committerClark Williams <williams@redhat.com>2012-04-10 16:37:37 -0500
commit0913a1bfd8dfb4f78350ac5718019c932fb61ba1 (patch)
tree9278c5d7973917458102da0e12fd394a1377edb5 /drivers/net/usb/zaurus.c
parent7f4e9c937f167facb082619f78a5592587b5e567 (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