Commit 45e9683e87b69328175df3a9e42039b9892ca47e

Authored by Stephen Rothwell
Committed by Chris Metcalf
1 parent 818d8462bb

compat: include aio_abi.h for aio_context_t

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

include/linux/compat.h
... ... @@ -13,6 +13,7 @@
13 13 #include <linux/socket.h>
14 14 #include <linux/if.h>
15 15 #include <linux/fs.h>
  16 +#include <linux/aio_abi.h> /* for aio_context_t */
16 17  
17 18 #include <asm/compat.h>
18 19 #include <asm/siginfo.h>