Actually, my change was specific to PARISC_LINUX24... but actually, using the atomic_read/atomic_write interfaces if present would probably be a better choice, as well as detecting which to use via a configure check.
-- Nathan > -----Original Message----- > From: Derek Atkins [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001 2:00 PM > To: Neulinger, Nathan > Cc: 'Nickolai Zeldovich'; [EMAIL PROTECTED] > Subject: Re: [OpenAFS-devel] porting openafs to another linux > - problems > w ith vRefcount type.. > > > Just make sure your change is specific to 2.4. :) > > -derek > > "Neulinger, Nathan" <[EMAIL PROTECTED]> writes: > > > Oh. Ok. In that case, my patch to fix it for parisc should > fix it for the > > others as well, it's just two lines of changes to make it use > > i_count.counter instead in osi_vfs.h. > > > > -- Nathan > > > > > -----Original Message----- > > > From: Nickolai Zeldovich [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, October 05, 2001 1:52 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [OpenAFS-devel] porting openafs to another linux > > > - problems > > > with vRefcount type.. > > > > > > > > > > What is going on special on parisc-linux (or on i386_linux) > > > that allows it > > > > to work on one, but not on the other? > > > > > > Nothing. It doesn't build on i386_linux either now. The latest > > > change to automatically generate the vnode structure from struct > > > inode made the refcount atomic_t instead of int. I've sent a bug > > > report to [EMAIL PROTECTED] about it, but haven't heard > > > anything back yet. Probably easiest workaround for now is to > > > s/atomic_t/int/. > > > > > > -- kolya > > > _______________________________________________ > > > OpenAFS-devel mailing list > > > [EMAIL PROTECTED] > > > https://lists.openafs.org/mailman/listinfo/openafs-devel > > > > > _______________________________________________ > > OpenAFS-devel mailing list > > [EMAIL PROTECTED] > > https://lists.openafs.org/mailman/listinfo/openafs-devel > > -- > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > Member, MIT Student Information Processing Board (SIPB) > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > [EMAIL PROTECTED] PGP key available > _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-devel
