Displaying 2 results from an estimated 2 matches for "lguest_irqs_pending".
2007 Sep 10
1
[PATCH] Add macros for acessing lguest fields
...ic int dma_transfer(struct lguest *srclg,
/* We trigger the destination interrupt, even if the destination was
* empty and we didn't transfer anything: this gives them a chance to
* wake up and refill. */
- set_bit(dst->interrupt, dstlg->irqs_pending);
+ set_bit(dst->interrupt, lguest_irqs_pending(dstlg));
/* Wake up the destination process. */
- wake_up_process(dstlg->tsk);
+ wake_up_process(lguest_task(dstlg));
/* If we passed the last "struct lguest_dma", the receive had no
* buffers left. */
return i == dst->num_dmas;
diff --git a/drivers/lguest/lg.h b/drivers/lg...
2007 Sep 10
1
[PATCH] Add macros for acessing lguest fields
...ic int dma_transfer(struct lguest *srclg,
/* We trigger the destination interrupt, even if the destination was
* empty and we didn't transfer anything: this gives them a chance to
* wake up and refill. */
- set_bit(dst->interrupt, dstlg->irqs_pending);
+ set_bit(dst->interrupt, lguest_irqs_pending(dstlg));
/* Wake up the destination process. */
- wake_up_process(dstlg->tsk);
+ wake_up_process(lguest_task(dstlg));
/* If we passed the last "struct lguest_dma", the receive had no
* buffers left. */
return i == dst->num_dmas;
diff --git a/drivers/lguest/lg.h b/drivers/lg...