]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - fs/aio.c
powerpc: Rework setting up H/FSCR bit definitions
[linux-imx.git] / fs / aio.c
index 2bbcacf74d0c64f8814cb68d8c4eff423dfe98d4..9b5ca113741948d95330d866e8e4e2cce113f3e5 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -39,6 +39,8 @@
 #include <asm/kmap_types.h>
 #include <asm/uaccess.h>
 
+#include "internal.h"
+
 #define AIO_RING_MAGIC                 0xa10a10a1
 #define AIO_RING_COMPAT_FEATURES       1
 #define AIO_RING_INCOMPAT_FEATURES     0
@@ -623,7 +625,7 @@ void aio_complete(struct kiocb *iocb, long res, long res2)
 
        /*
         * Add a completion event to the ring buffer. Must be done holding
-        * ctx->ctx_lock to prevent other code from messing with the tail
+        * ctx->completion_lock to prevent other code from messing with the tail
         * pointer since we might be called from irq context.
         */
        spin_lock_irqsave(&ctx->completion_lock, flags);