Re: [patch] ips.c spin lock 64 bit issues

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Thu Aug 16 2001 - 07:48:43 EST


On Thu, 16 Aug 2001, ServeRAID For Linux wrote:

> That's only the tip of the iceberg for the "variable casting" and other
> changes that are required to make the ips driver completely safe on IA64.
> I have made all the changes necessary and we are currently in test mode
> with the next release of ips ( Version 4.80.xx ), which will be completely
> 64-bit safe. I hope to make it available to all sometime in September,
> when we have completed our testing with it on both 32 and 64 bit Linux.
>

I don't think that "unsigned long" is the correct data type.

Isn't there a data type that means "the largest unsigned integer type
that fits into a register on the target..."? I was told that that's what
"size_t" means. If so, all the flags variables <everywhere> should be
changed to this type. If not, then somebody should define a "flags_t"
type. With the new 64-bit machines, this is going to bite over and
over again until something like this is done.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

    I was going to compile a list of innovations that could be
    attributed to Microsoft. Once I realized that Ctrl-Alt-Del
    was handled in the BIOS, I found that there aren't any.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:15 EST