summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-10-03 11:30:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-10-03 11:30:28 +0000
commitc81f508f77c3a90dc7ee22f02194881ce6c73b7d (patch)
tree6b7b2ac19d65c86ae6ca38b02685baa5e5cd6fd7 /sys/dev
parent5a1fe50400b65bbfb95db47c3f3979b5cb287346 (diff)
add noinline_for_stack for 5.15.71 drm
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/include/linux/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/include/linux/compiler.h b/sys/dev/pci/drm/include/linux/compiler.h
index 48dbb483251..ac593e8a071 100644
--- a/sys/dev/pci/drm/include/linux/compiler.h
+++ b/sys/dev/pci/drm/include/linux/compiler.h
@@ -22,6 +22,7 @@
#define __maybe_unused __attribute__((__unused__))
#define __always_inline inline __attribute__((__always_inline__))
#define noinline __attribute__((__noinline__))
+#define noinline_for_stack __attribute__((__noinline__))
#define fallthrough do {} while (0)
#ifndef __user