diff options
| author | Michael S. Tsirkin <[email protected]> | 2014-12-25 14:03:27 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2014-12-29 08:54:54 +0000 |
| commit | b28e0506fafd9c987bba7a6a71ea02a37fcabdea (patch) | |
| tree | d106164f315a92e8894454fdf93226bff5f53d3e /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
| parent | Linux 3.19-rc2 (diff) | |
| download | kernel-b28e0506fafd9c987bba7a6a71ea02a37fcabdea.tar.gz kernel-b28e0506fafd9c987bba7a6a71ea02a37fcabdea.zip | |
virtio_ring: document alignment requirements
Host needs to know vring element alignment requirements:
simply doing alignof on structures doesn't work reliably: on some
platforms gcc has alignof(uint32_t) == 2.
Add macros for alignment as specified in virtio 1.0 cs01,
export them to userspace as well.
Acked-by: Rusty Russell <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions
