]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_config: introduce size-based accessors.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 07:41:51 +0000 (18:11 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Oct 2013 00:25:36 +0000 (10:55 +1030)
commitb75c5dc0a76f617d375231ebf6f2d43f8ddf0e3d
treeb40dcc4d3ac3fb9d7c34381e82523b7e6cd8a0fa
parent3e922a4a2251d0afb66bc5e63ed9af4079fe1f5c
virtio_config: introduce size-based accessors.

This lets the us do endian conversion if necessary, and insulates the
drivers from that change.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/virtio_config.h