[PATCH] autofs fix for x86-64

Andi Kleen (ak@muc.de)
Sat, 20 Apr 2002 18:35:15 +0200


Minor patch for the x86-64 32bit emulation. Originally proposed by hpa and it
makes autofs 32bit/64bit clean for x86-64

Patch against 2.5.8

-Andi

diff -X ../../KDIFX -x *-o -x *-RESERVE -burpN ../../v2.5/linux/include/linux/auto_fs.h linux/include/linux/auto_fs.h
--- ../../v2.5/linux/include/linux/auto_fs.h Mon Feb 11 03:05:39 2002
+++ linux/include/linux/auto_fs.h Sat Apr 20 15:45:27 2002
@@ -45,7 +45,7 @@
* If so, 32-bit user-space code should be backwards compatible.
*/

-#if defined(__sparc__) || defined(__mips__)
+#if defined(__sparc__) || defined(__mips__) || defined(__x86_64__)
typedef unsigned int autofs_wqt_t;
#else
typedef unsigned long autofs_wqt_t;
-
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/