tools/virtio: define aligned attribute
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
3302363a27
commit
6bd6b282d0
@ -7,4 +7,5 @@
|
|||||||
|
|
||||||
#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var))))
|
#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var))))
|
||||||
|
|
||||||
|
#define __aligned(x) __attribute((__aligned__(x)))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user