git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools/virtio: define aligned attribute
[sfrench/cifs-2.6.git]
/
tools
/
virtio
/
linux
/
compiler.h
diff --git
a/tools/virtio/linux/compiler.h
b/tools/virtio/linux/compiler.h
index 903dc9c4bd115f196538138da3b32f30bcbd807e..2c51bccb97bb27ee816e64644c41b4c00f967796 100644
(file)
--- a/
tools/virtio/linux/compiler.h
+++ b/
tools/virtio/linux/compiler.h
@@
-7,4
+7,5
@@
#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var))))
+#define __aligned(x) __attribute((__aligned__(x)))
#endif