mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
In Linux v6.4, the macro DEFINE_SEMAPHORE was updated and this breaks the build for the ch384 serial driver. Add a new test to the conftest script that checks if the macro DEFINE_SEMAPHORE takes a number argument and use the definition created by conftest to select which version of the macro is used. Bug 4183168 Bug 4221847 Change-Id: Ie1bcb95b07e792c70fa52e22465bdf565dc456af Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2989732 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>