diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-06-23 13:29:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-07 19:42:59 +0200 |
commit | fa56d4cb4022c8b313c3b99236e1b87effc3655b (patch) | |
tree | b51b1e66ac75b1412f57f7e41e3aff4bc8f0f0f7 /drivers/ide/ide-ioctls.c | |
parent | ide: ide-taskfile.c fix style problems (diff) | |
download | linux-fa56d4cb4022c8b313c3b99236e1b87effc3655b.tar.xz linux-fa56d4cb4022c8b313c3b99236e1b87effc3655b.zip |
ide: allow ide_dev_read_id() to be called from the IRQ context
* Un-static __ide_wait_stat().
* Allow ide_dev_read_id() helper to be called from the IRQ context by
adding irq_ctx flag and using mdelay()/__ide_wait_stat() when needed.
* Switch ide_driveid_update() to set irq_ctx flag.
This change is needed for the consecutive patch which fixes races in
handling of user-space SET XFER commands but for improved bisectability
and clarity it is better to do it in a separate patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/ide-ioctls.c')
0 files changed, 0 insertions, 0 deletions