hpux-updates-20020716

get us closer to building
This commit is contained in:
Derrick Brashear 2002-07-16 23:24:54 +00:00
parent d0c8c165a3
commit d84171dd30
6 changed files with 11 additions and 7 deletions

View File

@ -87,6 +87,9 @@ extern void afsHashRelease(tid_t key);
extern caddr_t kmem_alloc();
#include <sys/kthread_iface.h> /* for kt_cred() */
/* Expected to be available as a patch from HP */
#include <vfs_vm.h>
#endif /* _OSI_MACHDEP_H_ */

View File

@ -179,10 +179,6 @@ afs_lockf( vp, flag, len, cred, fp, LB, UB )
#include "../h/tuneable.h"
#include "../h/buf.h"
#include "../netinet/in.h"
#include "../rpc/types.h"
#include "../rpc/auth.h"
#include "../rpc/clnt.h"
#include "../rpc/xdr.h"
/* a freelist of one */
struct buf *afs_bread_freebp = 0;

View File

@ -80,6 +80,10 @@
* supress the warnings.
*/
struct uio;
#define memset(A, B, S) bzero(A, S)
#define memcpy(B, A, S) bcopy(A, B, S)
#define memcmp(A, B, S) bcmp(A, B, S)
#endif
#endif /* KERNEL */
#define AFS_DIRENT

View File

@ -102,7 +102,7 @@ setup:
# Compile the clients.
${COMPDIRS} ${INSTDIRS} ${DESTDIRS}:
if false; then \
if true; then \
for b in $(BITS); do \
for t in $(KOBJ); do \
dir=$$t.$$b; \

View File

@ -2,6 +2,8 @@
#define _RX_KMUTEX_H_
#include <sys/spinlock.h>
#include <sys/sem_sync.h>
#include <sys/ksleep.h>
#include <net/netmp.h>
#define RX_ENABLE_LOCKS 1
extern lock_t* rx_sleepLock;
@ -31,5 +33,5 @@ typedef caddr_t afs_kcondvar_t;
#define MUTEX_TRYENTER(a) 1
#define MUTEX_EXIT(a)
#define MUTEX_INIT(a,b,c,d)
/* #define MUTEX_ISMINE(a) */
#define MUTEX_ISMINE(a) (1)
#endif

View File

@ -21,7 +21,6 @@ RCSID("$Header$");
#ifdef AFS_HPUX110_ENV
#include "../h/tihdr.h"
#include <xti.h>
#include "../afs/hpux_110.h"
#endif
#include "../afsint/afsint.h"