diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2010-04-13 16:46:36 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-05-16 21:06:31 -0400 |
commit | 99df95a22f7cfcf85405d4edc07c2d953542f0dd (patch) | |
tree | 9bdcd20f1b7191268ded5feb0d1122685e2df44c /net/sunrpc/cache.c | |
parent | c2f980500a81006173daf3048284b28832858616 (diff) |
sunrpc: Include missing smp_lock.h
Now that cache_ioctl_procfs() calls the bkl explicitly, we need to
include the relevant header as well.
This fixes the following build error:
net/sunrpc/cache.c: In function 'cache_ioctl_procfs':
net/sunrpc/cache.c:1355: error: implicit declaration of function 'lock_kernel'
net/sunrpc/cache.c:1359: error: implicit declaration of function 'unlock_kernel'
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'net/sunrpc/cache.c')
-rw-r--r-- | net/sunrpc/cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 95690a8a4d80..77970fe8bff2 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/workqueue.h> | 28 | #include <linux/workqueue.h> |
29 | #include <linux/mutex.h> | 29 | #include <linux/mutex.h> |
30 | #include <linux/pagemap.h> | 30 | #include <linux/pagemap.h> |
31 | #include <linux/smp_lock.h> | ||
31 | #include <asm/ioctls.h> | 32 | #include <asm/ioctls.h> |
32 | #include <linux/sunrpc/types.h> | 33 | #include <linux/sunrpc/types.h> |
33 | #include <linux/sunrpc/cache.h> | 34 | #include <linux/sunrpc/cache.h> |