Messages in this thread Patch in this message | | | Date | Thu, 3 Feb 2000 02:18:54 +0100 | From | Jens Axboe <> | Subject | [patch] ide_timer_expiry bug |
| |
Hi,
In 2.3.42 the hwgroup->handler is cleared to soon, which breaks the expiry mechanism.
-- * Jens Axboe <axboe@suse.de> * Linux CD-ROM Maintainer * http://www.kernel.dk --- ide.c~ Thu Feb 3 02:16:17 2000 +++ ide.c Thu Feb 3 02:17:00 2000 @@ -1417,9 +1417,9 @@ } } else { ide_drive_t *drive = hwgroup->drive; - hwgroup->handler = NULL; if (!drive) { printk("ide_timer_expiry: hwgroup->drive was NULL\n"); + hwgroup->handler = NULL; } else { ide_hwif_t *hwif; ide_startstop_t startstop; @@ -1437,6 +1437,7 @@ return; } } + hwgroup->handler = NULL; /* * We need to simulate a real interrupt when invoking * the handler() function, which means we need to globally | |