search for: 3cd20cb92649

Displaying 1 result from an estimated 1 matches for "3cd20cb92649".

2023 Apr 10
1
[PATCH] tools/virtio: fix build caused by virtio_ring changes
...#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var)))) #define __aligned(x) __attribute((__aligned__(x))) + +#define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) + #endif diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h index 8b877167933d..3cd20cb92649 100644 --- a/tools/virtio/linux/kernel.h +++ b/tools/virtio/linux/kernel.h @@ -10,6 +10,7 @@ #include <stdarg.h> #include <linux/compiler.h> +#include <linux/container_of.h> #include <linux/log2.h> #include <linux/types.h> #include <linux/overflow.h> @@ -1...