]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] autofs fix for x86-64
authorAndi Kleen <ak@muc.de>
Sat, 20 Apr 2002 03:06:31 +0000 (20:06 -0700)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sat, 20 Apr 2002 03:06:31 +0000 (20:06 -0700)
Minor patch for the x86-64 32bit emulation. Originally proposed by hpa and it
makes autofs 32bit/64bit clean for x86-64

include/linux/auto_fs.h

index aaacb18c4026efe6be2be5e75f3ec5d565bef604..443fc8b904276587cbb622525cd6fa97b2ab517b 100644 (file)
@@ -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;