64-bit support..what happened?
Allen Curtis
acurtis at onz.com
Wed Sep 4 10:41:13 EDT 2002
> > 2. drivers/mtd/maps/physmap.c - attempts to reference __raw_readll()
> > and __raw_writell() when in 64-bit mode. These functions/macros do not
> > exist. They would appear in include/asm/io.h. Nothing exists in the
> > MTD tree to patch this file or otherwise provide these functions.
>
> Correct. Again, this is platform-specific and you need to provide
> it. Some
> people have to play tricks with transferring all 64 bits into a
> FP register
> and storing form there, etc. It's probably best to take the stuff in
> physmap.c as merely an example, and provide your own map driver.
As you mentioned, although my architecture has a 64-bit bus, the only way to
perform a 64-bit bus access is through the floating point processor. Do you
see any reason why I couldn't just perform 2 32-bit operations?
I will take physmap.c as an example and make our own version. However good
sample code would include the proper headers if they reference conditional
defines. (slight jab...sorry) I believe that there are 3 files under map
that include the conditional compile and none of them include the proper
header file. Perhaps this just indicates that the conditional should be
moved to another file or change to use the autoconfig defines?
More information about the linux-mtd
mailing list