search for: __lg

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

Did you mean: __le
2007 Sep 10
1
[PATCH] Add macros for acessing lguest fields
...g.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(__lg) __lg->irqs_pending + /*L:035 * Let's step aside for the moment, to study one important routine that's used * widely in the Host code. -- 1.4.4.2
2007 Sep 10
1
[PATCH] Add macros for acessing lguest fields
...g.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(__lg) __lg->irqs_pending + /*L:035 * Let's step aside for the moment, to study one important routine that's used * widely in the Host code. -- 1.4.4.2