From: jsg Date: Mon, 20 May 2024 03:21:58 +0000 (+0000) Subject: add __counted_by() for 6.6.31 drm X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9ad46d05155334137c89a158e15adf2eb8d25223;p=openbsd add __counted_by() for 6.6.31 drm --- diff --git a/sys/dev/pci/drm/include/linux/compiler.h b/sys/dev/pci/drm/include/linux/compiler.h index 7adb9742deb..6fdf71abfa2 100644 --- a/sys/dev/pci/drm/include/linux/compiler.h +++ b/sys/dev/pci/drm/include/linux/compiler.h @@ -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)