autofs on 64-bit systems

From: H. Peter Anvin (hpa@zytor.com)
Date: Thu Feb 07 2002 - 00:59:20 EST


I would like to change the API for autofs on 64-bit systems, *except*
Alpha, MIPS64 and SPARC64. As far as I count, this means IA-64,
S/390x and x86-64.

The problem is that current setup doesn't work well with the emulation
layer; currently this is special-cased for MIPS64 and Sparc64, but the
other 64-bit architectures didn't follow suit.

How much pain or lack thereof will this cause? In particular, IA-64
seems to be one which just may want to pass on this, otherwise I'll
expect to send this patch to Linus and Marcelo as well as make an
autofs 3.1.8 with this patch in it:

--- include/linux/auto_fs.h~ Mon Jan 14 13:33:50 2002
+++ include/linux/auto_fs.h Wed Feb 6 21:57:16 2002
@@ -45,7 +45,7 @@
  * If so, 32-bit user-space code should be backwards compatible.
  */
 
-#if defined(__sparc__) || defined(__mips__)
+#ifndef __alpha__
 typedef unsigned int autofs_wqt_t;
 #else
 typedef unsigned long autofs_wqt_t;

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
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 Feb 07 2002 - 21:00:58 EST