compat: include aio_abi.h for aio_context_t
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 May 2011 03:28:54 +0000 (13:28 +1000)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 24 May 2011 12:55:20 +0000 (08:55 -0400)
fixes this build error on sparc64 (at least):

In file included from arch/sparc/include/asm/siginfo.h:19,
                 from include/linux/signal.h:5,
                 from include/linux/sched.h:73,
                 from arch/sparc/kernel/asm-offsets.c:13:
include/linux/compat.h:401: error: expected ')' before 'ctx_id'
include/linux/compat.h:406: error: expected ')' before 'ctx_id'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
include/linux/compat.h

index 644e1a4692b17511863f7005d358c82a4cda59ab..ddcb7db38e67cc1f822d9cca89c7253a0883a63e 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/socket.h>
 #include <linux/if.h>
 #include <linux/fs.h>
+#include <linux/aio_abi.h>     /* for aio_context_t */
 
 #include <asm/compat.h>
 #include <asm/siginfo.h>