diff options
author | David S. Miller <davem@davemloft.net> | 2006-01-20 00:40:42 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-20 06:11:31 (GMT) |
commit | 7e732bfc5570b8f9bb5f155cf36e94b2e7d6bf6a (patch) | |
tree | f1f15646c7a9488cf0cd0838d04b8bde1193ef21 /arch/sparc/kernel/devices.c | |
parent | 0f36b018b2e314d45af86449f1a97facb1fbe300 (diff) | |
download | linux-7e732bfc5570b8f9bb5f155cf36e94b2e7d6bf6a.tar.xz |
[PATCH] Fix regression added by ppoll/pselect code.
The compat layer timeout handling changes in:
9f72949f679df06021c9e43886c9191494fdb007
are busted. This is most easily seen with an X application
that uses sub-second select/poll timeout such as emacs. You
hit a key and it takes a second or so before the app responds.
The two ROUND_UP() calls upon entry are using {tv,ts}_sec where it
should instead be using {tv_usec,ts_nsec}, which perfectly explains
the observed incorrect behavior.
Another bug shot down with git bisect.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sparc/kernel/devices.c')
0 files changed, 0 insertions, 0 deletions