Re: [PATCH] virtio, ring: Use ALIGN macros in virtio_ring.h

From: Liu Yuan
Date: Tue Apr 26 2011 - 03:50:28 EST


On 04/26/2011 03:42 PM, Michael S. Tsirkin wrote:
On Tue, Apr 26, 2011 at 12:11:10PM +0800, Liu Yuan wrote:
From: Liu Yuan<tailai.ly@xxxxxxxxxx>


Signed-off-by: Liu Yuan<tailai.ly@xxxxxxxxxx>
Issue is, these functions are exported to userspace,
which does not have these macros.

Ah, thanks, I should have noticed the '#ifdef __KERNEL__' just below the lines I touched.

Thanks,
Yuan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/