All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS_All on alpha
@ 2002-09-03 21:03 David B. Ritch
  2002-09-03 22:59 ` Trond Myklebust
  0 siblings, 1 reply; 3+ messages in thread
From: David B. Ritch @ 2002-09-03 21:03 UTC (permalink / raw)
  To: NFS mailing list

I applied the nfs_all patch from
http://www.fys.uio.no/~trondmy/src/2.4.19/ to a linux-2.4.19 kernel, and
ran into trouble compiling.

In particular, the linux-2.4.19-02-fix_kmap2.dif patch defines a
conflicting type for xdr_shift_buf's second argument.  In
linux-2.4.19/include/linux/sunrpc/xdr.h, it is defined to be of type
unsigned int, and in linux-2.4.19/net/sunrpc/xdr.c, it is defined to be
of type size_t.

Size_t is defined to be __kernel_size_t in /usr/include/linux/types.h,
which is defined to be unsigned long in /usr/include/asm/posix_types.h.

On an IA32 architecture, unsigned long and unsigned int are the same, so
this is not a big deal.  However, on an alpha, a long is 64 bits,
whereas an int is only 32 bits.

Should xdr_shift_buf take an int or a long?  Are there any other known
problems for a 64-bit architecture in the nfs_all patches?

Thank you,

dbr
-- 
David B. Ritch
High Performance Technologies, Inc.


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-04 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-03 21:03 NFS_All on alpha David B. Ritch
2002-09-03 22:59 ` Trond Myklebust
2002-09-04 15:47   ` David B. Ritch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.