add __counted_by() for 6.6.31 drm
authorjsg <jsg@openbsd.org>
Mon, 20 May 2024 03:21:58 +0000 (03:21 +0000)
committerjsg <jsg@openbsd.org>
Mon, 20 May 2024 03:21:58 +0000 (03:21 +0000)
sys/dev/pci/drm/include/linux/compiler.h

index 7adb974..6fdf71a 100644 (file)
@@ -24,6 +24,7 @@
 #define noinline       __attribute__((__noinline__))
 #define noinline_for_stack      __attribute__((__noinline__))
 #define fallthrough    do {} while (0)
+#define __counted_by(x)
 
 #define __PASTE(x,y) __CONCAT(x,y)