mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 12:21:22 -05:00
tools/virtio: replace "__auto_type" with "auto"
Replace one instance of "__auto_type" with "auto" in: tools/virtio/linux/compiler.h This file *does* include <linux/compiler_types.h> directly, so there is no need to duplicate the definition. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
*/
|
||||
#define data_race(expr) \
|
||||
({ \
|
||||
__auto_type __v = (expr); \
|
||||
auto __v = (expr); \
|
||||
__v; \
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user