]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lguest: wrap last_avail accesses.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Jul 2008 14:58:34 +0000 (09:58 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Jul 2008 23:58:35 +0000 (09:58 +1000)
commitb5111790fa6695b1502d4f5d389f6b22b9de10c3
treef937d643aaf845ecd7952055fcb6c4d8b879e040
parentcf485e566bc4a8098680162e1cc2ac1dfbef8a3c
lguest: wrap last_avail accesses.

To simplify the transition to when we publish indices in the ring
(and make shuffling my patch queue easier), wrap them in a lg_last_avail()
macro.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Documentation/lguest/lguest.c