int *gp;
struct ucred *newcr;
ulong_t s;
-#if defined(AFS_HPUX1122_ENV)
+#if defined(AFS_HPUX110_ENV)
register ulong_t context;
#endif
/* somebody else might have a pointer to this structure.
** make sure we do not have a race condition */
newcr = *cred;
-#if defined(AFS_HPUX1122_ENV)
+#if defined(AFS_HPUX110_ENV)
/* all of the uniprocessor spinlocks are not defined. */
/* I assume the UP and MP are now handled together */
MP_SPINLOCK_USAV(cred_lock, context);
}
else
{
-#if defined(AFS_HPUX1122_ENV)
+#if defined(AFS_HPUX110_ENV)
MP_SPINUNLOCK_USAV(cred_lock, context);
#else
(void) UP_SPLX(s);