]> git.baikalelectronics.ru Git - kernel.git/commit
ioat2: kill pending flag
authorDan Williams <dan.j.williams@intel.com>
Wed, 3 Mar 2010 18:47:43 +0000 (11:47 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 3 Mar 2010 18:47:43 +0000 (11:47 -0700)
commita7bae4d4912f8bc0b2bcd18dee5c16044130a9cf
treea0e7ca560fd1f2c43d3352786b0a5317af97ccf7
parent18270465c668058346149bb4934accd4491757c0
ioat2: kill pending flag

The pending == 2 case no longer exists in the driver so, we can use
ioat2_ring_pending() outside the lock to determine if there might be any
descriptors in the ring that the hardware has not seen.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma_v2.c
drivers/dma/ioat/dma_v2.h