nixpkgs/pkgs/os-specific/linux/nvidia-x11/atomic64_t.patch
2019-01-13 09:37:06 +01:00

13 lines
419 B
Diff

diff --git a/kernel/conftest.sh b/kernel/conftest.sh
index e8de161..6c284e9 100755
--- a/kernel/conftest.sh
+++ b/kernel/conftest.sh
@@ -1784,7 +1784,6 @@ compile_test() {
atomic64_t data;
atomic64_read(&data);
atomic64_set(&data, 0);
- atomic64_inc(&data);
}"
compile_check_conftest "$CODE" "NV_ATOMIC64_PRESENT" "" "types"