Commit 856e7226 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] autofs_wqt_t for ppc64

Anton Blanchard <anton@samba.org>: Fix autofs on ppc64:

  Define autofs_wqt_t to be an int on ppc64, just like the other mixed
  32/64 bit archs do.
parent 4478f040
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
* If so, 32-bit user-space code should be backwards compatible. * If so, 32-bit user-space code should be backwards compatible.
*/ */
#if defined(__sparc__) || defined(__mips__) || defined(__x86_64__) #if defined(__sparc__) || defined(__mips__) || defined(__x86_64__) || defined(__powerpc__)
typedef unsigned int autofs_wqt_t; typedef unsigned int autofs_wqt_t;
#else #else
typedef unsigned long autofs_wqt_t; typedef unsigned long autofs_wqt_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment