Skip to contentSkip to conversation

autofs fix for x86-64

PATCH New Andi Kleen 1 participant 1 message Apr 20, 2002

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

PATCH 1/1 autofs fix for x86-64

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

include/linux/auto_fs.h renamed from ../v2.5/linux/include/linux/auto_fs.h +1 -1
diff -X ../../KDIFX -x *-o -x *-RESERVE -burpN ../../v2.5/linux/include/linux/auto_fs.h linux/include/linux/auto_fs.h
@@ -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;