diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-06-10 10:08:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-10 10:08:54 -0700 |
| commit | 1e9555367098ea643bec15da52ca3baaebfcfa42 (patch) | |
| tree | e68d09bdf7afe09da8955fbc9df46feb2420b5bb /include/linux/init_task.h | |
| parent | b04ed0eef5f882267309fbdbd00d5ad55e8152d3 (diff) | |
[PATCH] fix possible busywait in rtc_read()
If two processes are waiting in rtc_read(), only one will get the data. The
other will madly spin around theloop in state TASK_RUNNING until another
interrupt happens.
Fix it by resetting TASK_INTERRUPTIBLE _inside_ the retry loop.
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions
