Re: Proper way to handle 64-bit pointers?

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Wed, 02 Sep 1998 19:05:52 -0300


In message <199809022017.QAA30036@pretzel.normnet.org>, Jeff Garzik writes:
+-----
| There are a few places within the kernel where a pointer value is
| converted to an integer, usually as some sort of hash value.
|
| This isn't smart on the Alpha, where pointers are 64-bit, but
| integers remain 32-bit.
+--->8

Ummm, you mean (int) as opposed to (unsigned long)? I thought the latter
was 64-bit on Alphas... and IIRC it's the only type with any kind of
guarantee that it can handle a pointer.

And I thought that bug went out of style in the 80s. :-)

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering					 KF8NH
carnegie mellon university

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html