From: Stephan Wiesand Date: Mon, 26 Feb 2007 17:53:33 +0000 (+0000) Subject: STABLE14-update-tasklist-lock-test-20070226 X-Git-Tag: openafs-stable-1_4_3rc3~7 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e17449c6e5597c9ce157ea68709485d970955997;p=packages%2Fo%2Fopenafs.git STABLE14-update-tasklist-lock-test-20070226 FIXES 54916 make the tasklist lock test actually detect GPL stupidity (cherry picked from commit bed42291bcc16065f23e964b64d60090ffaa96f9) --- diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4 index 3002d93d5..653464fb6 100644 --- a/src/cf/linux-test4.m4 +++ b/src/cf/linux-test4.m4 @@ -6,6 +6,7 @@ AC_DEFUN([LINUX_EXPORTS_TASKLIST_LOCK], [ #include ], [ extern rwlock_t tasklist_lock __attribute__((weak)); +read_lock(&tasklist_lock); ], ac_cv_linux_exports_tasklist_lock=yes, ac_cv_linux_exports_tasklist_lock=no)])