while building afs for -test11 on the ppc, i discovered i needed:

Index: MakefileProto.LINUX
===================================================================
RCS file: /afs/cmf/users/chas/cvsroot/openafs/src/libafs/MakefileProto.LINUX,v
retrieving revision 1.3
diff -u -r1.3 MakefileProto.LINUX
--- MakefileProto.LINUX 2000/11/02 14:00:28     1.3
+++ MakefileProto.LINUX 2000/12/05 12:37:35
@@ -86,8 +86,10 @@
                rm -f asm; \
 <i386_linux22 i386_linux24>
                ln -s ${LINUX_SRCDIR}$$v/include/asm-i386 asm ; \
+               ln -s ${LINUX_SRCDIR}$$v/include/asm-generic asm-generic ; \
 <ppc_linux22 ppc_linux24>
                ln -s ${LINUX_SRCDIR}$$v/include/asm-ppc asm ; \
+               ln -s ${LINUX_SRCDIR}$$v/include/asm-generic asm-generic ; \
 <all>
                for m in ${MPS} ; do \
                        KDIR=${KOBJ}-$$v-$$m ; \
Index: osi_vfsops.c
===================================================================
RCS file: /afs/cmf/users/chas/cvsroot/openafs/src/afs/LINUX/osi_vfsops.c,v
retrieving revision 1.2
diff -u -u -r1.2 osi_vfsops.c
--- osi_vfsops.c        2000/11/01 03:03:57     1.2
+++ osi_vfsops.c        2000/12/05 12:53:14
@@ -203,7 +203,11 @@
  * pages to disk. So it needs an inode syncing function to update metadata when it
  * has synced some pages of a file to disk.
  */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
+void afs_write_inode(struct inode *ip, int unused) 
+#else
 void afs_write_inode(struct inode *ip) 
+#endif
 {
     /* and put it back on our dummy list. */
     list_del(&ip->i_list);

_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel

Reply via email to