OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4456-g7583f97
Gerrit Code Review
gerrit@openafs.org
Wed, 5 Nov 2014 13:56:37 -0500
The following commit has been merged in the master branch:
commit 7583f97d5f19aa2d207f8a35a1a3a8b76f672e30
Author: Benjamin Kaduk <kaduk@mit.edu>
Date: Wed Oct 15 15:03:36 2014 -0400
Allow compiling with KERNEL and AFS_PTHREAD_ENV
Add the necessary preprocessor conditionals to allow building
libuafs with AFS_PTHREAD_ENV defined.
A follow-up commit will switch to building libuafs using libtool,
which will set the pthread compiler/linker flags. UKERNEL is already
using the pthread primitives for its internal kernel synchronization,
so there should not be any harm from additionally specifying the
pthread build arguments.
This change was produced mostly in a mechanical fashion, attempting
to perform such a build, and eliminating compiler and linker errors
in an iterative process. No concerted effort has been made to audit
the whole kernel codebase for correctness of conditionals, but the
linktest executable does link (that is, the overall build succeeds).
Change-Id: I14a3ab5fce72812d92ba5657c734783dbd086ee3
Reviewed-on: http://gerrit.openafs.org/11546
Reviewed-by: D Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/rx/rx.c | 20 ++++++++++++++------
src/rx/rx_globals.h | 4 ++--
src/rxkad/rxkad_common.c | 12 ++++++------
src/rxkad/stats.h | 18 +++++++++---------
src/util/pthread_glock.h | 6 +++---
5 files changed, 34 insertions(+), 26 deletions(-)
--
OpenAFS Master Repository