Commit 4ecc26fa authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

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: default avatarH. Peter Anvin (Intel) <hpa@zytor.com>
parent c278d72b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
 */
#define data_race(expr)							\
({									\
	__auto_type __v = (expr);					\
	auto __v = (expr);						\
	__v;								\
})