mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
33ae575a6a
One line patch to initialize spin lock added in a RedHat kernel patch. This should fix the RedHat 7.1 SMP problem. Also includes configure glue to turn it on. Thanks to Chaskiel Grundman for suggesting the fix, Garry Zacheiss for suggesting it affected the SMP kernel generally and not just SMP hardware, and Andrei Maslennikov for noting the problem did not affect vanilla 2.4.3 with only the Alan Cox (AC14 in this case) patch.
33 lines
618 B
C
33 lines
618 B
C
@BOTTOM@
|
|
#undef PACKAGE
|
|
#undef VERSION
|
|
|
|
#define RCSID(msg) \
|
|
static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
|
|
|
|
#undef HAVE_CONNECT
|
|
#undef HAVE_GETHOSTBYNAME
|
|
#undef HAVE_RES_SEARCH
|
|
#undef HAVE_SOCKET
|
|
|
|
#if ENDIANESS_IN_SYS_PARAM_H
|
|
# ifndef KERNEL
|
|
# include <sys/types.h>
|
|
# include <sys/param.h>
|
|
# if BYTE_ORDER == BIG_ENDIAN
|
|
# define WORDS_BIGENDIAN 1
|
|
# endif
|
|
# endif
|
|
#endif
|
|
|
|
#undef AFS_AFSDB_ENV
|
|
#undef AFS_NAMEI_ENV
|
|
#undef BOS_RESTRICTED_MODE
|
|
|
|
#undef FAST_RESTART
|
|
#undef BITMAP_LATER
|
|
|
|
#undef INODE_SETATTR_NOT_VOID
|
|
#undef STRUCT_INODE_HAS_I_BYTES
|
|
#undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
|