aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2014-12-25 16:03:27 +0200
committerMichael S. Tsirkin <[email protected]>2014-12-29 10:54:54 +0200
commitb28e0506fafd9c987bba7a6a71ea02a37fcabdea (patch)
treed106164f315a92e8894454fdf93226bff5f53d3e /drivers/mtd/lpddr/lpddr_cmds.c
parentb7392d2247cfe6771f95d256374f1a8e6a6f48d6 (diff)
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/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions