#define _AFS_OSI_
#include "h/types.h"
+#if !defined(AFS_LINUX26_ENV)
#include "h/param.h"
+#endif
#ifdef AFS_FBSD_ENV
#include <sys/condvar.h>
#define osi_NPACKETS 20 /* number of cluster pkts to alloc */
+
/*
* Default vnode related macros
*
#ifdef AFS_FBSD_ENV
/* should use curthread, but 'ps' can't display it */
#define osi_ThreadUnique() (curproc->p_pid)
-#elif defined(AFS_LINUX_ENV)
-#define osi_ThreadUnique() (current->pid)
#elif defined(UKERNEL)
#define osi_ThreadUnique() osi_getpid()
#else
#define osi_curcred() (u.u_cred)
#endif
+#ifdef AFS_LINUX26_ONEGROUP_ENV
+#define AFS_NUMPAGGROUPS 1
+#else
+#define AFS_NUMPAGGROUPS 2
+#endif
+
#endif /* _AFS_OSI_ */