search for: b1ed671

Displaying 2 results from an estimated 2 matches for "b1ed671".

2007 Sep 10
1
[PATCH] Add macros for acessing lguest fields
...e 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/lguest/lg.h index 64f0abe..b1ed671 100644 --- a/drivers/lguest/lg.h +++ b/drivers/lguest/lg.h @@ -258,6 +258,9 @@ unsigned long get_dma_buffer(struct lguest *lg, unsigned long key, void do_hypercalls(struct lguest *lg); void write_timestamp(struct lguest *lg); +#define lguest_task(__lg) __lg->tsk +#define lguest_irqs_pending(...
2007 Sep 10
1
[PATCH] Add macros for acessing lguest fields
...e 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/lguest/lg.h index 64f0abe..b1ed671 100644 --- a/drivers/lguest/lg.h +++ b/drivers/lguest/lg.h @@ -258,6 +258,9 @@ unsigned long get_dma_buffer(struct lguest *lg, unsigned long key, void do_hypercalls(struct lguest *lg); void write_timestamp(struct lguest *lg); +#define lguest_task(__lg) __lg->tsk +#define lguest_irqs_pending(...