mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-16 03:54:10 +00:00
tools/virtio: define aligned attribute
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
3302363a27
commit
6bd6b282d0
1 changed files with 1 additions and 0 deletions
|
@ -7,4 +7,5 @@
|
|||
|
||||
#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var))))
|
||||
|
||||
#define __aligned(x) __attribute((__aligned__(x)))
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue