Date: Sat, 22 Apr 2023 08:30:41 GMT From: Vladimir Kondratyev <wulf@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 53d821d651ce - main - LinuxKPI: Define noinline_for_stack compiler attribute Message-ID: <202304220830.33M8Uftl023855@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=53d821d651ce62c890413cdddb1bab8ba638f709 commit 53d821d651ce62c890413cdddb1bab8ba638f709 Author: Vladimir Kondratyev <wulf@FreeBSD.org> AuthorDate: 2023-04-22 08:29:29 +0000 Commit: Vladimir Kondratyev <wulf@FreeBSD.org> CommitDate: 2023-04-22 08:29:29 +0000 LinuxKPI: Define noinline_for_stack compiler attribute It is identical to noinline and used for documentation reasons. Required by: drm-kmod 5.15-lts Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D39553 --- sys/compat/linuxkpi/common/include/linux/compiler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/compiler.h b/sys/compat/linuxkpi/common/include/linux/compiler.h index 801618e15f9f..b2c835ad808d 100644 --- a/sys/compat/linuxkpi/common/include/linux/compiler.h +++ b/sys/compat/linuxkpi/common/include/linux/compiler.h @@ -64,6 +64,7 @@ #undef __always_inline #define __always_inline inline #define noinline __noinline +#define noinline_for_stack __noinline #define ____cacheline_aligned __aligned(CACHE_LINE_SIZE) #define ____cacheline_aligned_in_smp __aligned(CACHE_LINE_SIZE) #define fallthrough /* FALLTHROUGH */ do { } while(0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304220830.33M8Uftl023855>