[Top] [All Lists]

Maybe use caddr_t instead of bfd_vma?

To: linux-xfs@xxxxxxxxxxx
Subject: Maybe use caddr_t instead of bfd_vma?
From: Jim Bray <jb@xxxxxxxxx>
Date: Fri, 7 Apr 2000 23:39:31 -0400 (EDT)
In-reply-to: <Pine.LNX.4.10.10004072020130.228-100000@xxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Fri, 7 Apr 2000, Jim Bray wrote:

  It looks like on ia32, the sole purpose of bfd.h might be to tell us
that bfd_vma is a u_long. If it is doing what it at first glance appears
to be doing, perhaps our venerable old friend caddr_t could be #included
from <linux/types.h> instead. This pulls in an arch-determined definition
from <asm/types.h>, so it should be portable enough.

...no, it is used for a bit more in 
but could probably still be done without. The other things being used are
all things that the kernel must also have strong ideas about:


Jim     http://as220.org/jb

<Prev in Thread] Current Thread [Next in Thread>