| To: | Eric Sandeen <sandeen@xxxxxxx> |
|---|---|
| Subject: | Re: oops release-1.3.3-pre2/x86_64 from Scientific Linux |
| From: | Tru Huynh <tru@xxxxxxxxxx> |
| Date: | Mon, 9 Aug 2004 17:03:35 +0200 |
| Cc: | Dan Yocum <yocum@xxxxxxxx>, xfs-list <linux-xfs@xxxxxxxxxxx> |
| In-reply-to: | <20040809161051.B22340@xiii.bis.pasteur.fr>; from tru@pasteur.fr on Mon, Aug 09, 2004 at 04:10:51PM +0200 |
| References: | <20040809121137.A16748@xiii.bis.pasteur.fr> <411781A8.80104@sgi.com> <20040809161051.B22340@xiii.bis.pasteur.fr> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5.1i |
On Mon, Aug 09, 2004 at 04:10:51PM +0200, Tru Huynh wrote:
> On Mon, Aug 09, 2004 at 08:52:40AM -0500, Eric Sandeen wrote:
> > what does your ffs() look like? I added this patch to our kernels, but
> > it may not be in Dan's kernels (hm, I need to update the 1.3.3 packages
> > we have on oss...)
> >
> > --- linux/include/asm-x86_64/bitops.h.orig 2004-07-26
> > 12:33:54.000000000 -0500
> > +++ linux/include/asm-x86_64/bitops.h 2004-07-26 12:35:23.000000000 -0500
> > @@ -473,7 +473,7 @@ static __inline__ int ffs(int x)
> >
> > __asm__("bsfl %1,%0\n\t"
> > "cmovzl %2,%0"
> > - : "=r" (r) : "g" (x), "r" (32));
> > + : "=r" (r) : "rm" (x), "r" (-1));
> > return r+1;
> > }
> include/asm-x86_64/bitops.h
> ...
> 470 static __inline__ int ffs(int x)
> 471 {
> 472 int r;
> 473
> 474 __asm__("bsfl %1,%0\n\t"
> 475 "cmovzl %2,%0"
> 476 : "=r" (r) : "g" (x), "r" (32));
> 477 return r+1;
> 478 }
>
> I am changing line 476 to :"=r" (r) : "rm" (x), "r" (-1));
> I will post the results ASAP.
Yes!!!! that works (mount read-only for the moment)
but I can access the files there :D
**Best regards**,
Tru
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: oops release-1.3.3-pre2/x86_64 from Scientific Linux, Tru Huynh |
|---|---|
| Next by Date: | Re: building xfsprogs (CVS): mmap.c:627: `MADV_NORMAL' undeclared, Bernhard Erdmann |
| Previous by Thread: | Re: oops release-1.3.3-pre2/x86_64 from Scientific Linux, Tru Huynh |
| Next by Thread: | Re: oops release-1.3.3-pre2/x86_64 from Scientific Linux, Tru Huynh |
| Indexes: | [Date] [Thread] [Top] [All Lists] |