autofs fix for x86-64

Message ID 20020420183515.A22395@averell
State New, archived
Headers show
Series
  • autofs fix for x86-64
Related show

Commit Message

Andi Kleen April 20, 2002, 4:35 p.m. UTC
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



-
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/

Patch

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;