]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[libata] use kmap_atomic(KM_IRQ0) in SCSI simulator
authorJeff Garzik <jeff@garzik.org>
Mon, 11 Dec 2006 16:05:53 +0000 (11:05 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 16 Dec 2006 15:12:36 +0000 (10:12 -0500)
commitda02d2a16ef3accd625f9e6e7bf83bb0f946ff62
tree768172e71db53ff2178ee4fe5d2edc626a1545ec
parentfae07dc389bc32a3638b9d4c61dd3738ca3fb61d
[libata] use kmap_atomic(KM_IRQ0) in SCSI simulator

We are inside spin_lock_irqsave().  quoth akpm's debug facility:

 [  231.948000] SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB)
 [  232.232000] ata1.00: configured for UDMA/33
 [  232.404000] WARNING (1) at arch/i386/mm/highmem.c:47 kmap_atomic()
 [  232.404000]  [<c01162e6>] kmap_atomic+0xa9/0x1ab
 [  232.404000]  [<c0242c81>] ata_scsi_rbuf_get+0x1c/0x30
 [  232.404000]  [<c0242caf>] ata_scsi_rbuf_fill+0x1a/0x87
 [  232.404000]  [<c0243ab2>] ata_scsiop_mode_sense+0x0/0x309
 [  232.404000]  [<c01729d5>] end_bio_bh_io_sync+0x0/0x37
 [  232.404000]  [<c02311c6>] scsi_done+0x0/0x16
 [  232.404000]  [<c02311c6>] scsi_done+0x0/0x16
 [  232.404000]  [<c0242dcc>] ata_scsi_simulate+0xb0/0x13f
[...]

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c