]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Remove sparse warning in cifsfs.c
authorSteve French <smfrench@gmail.com>
Fri, 3 Aug 2012 19:56:12 +0000 (14:56 -0500)
committerSteve French <smfrench@gmail.com>
Mon, 6 Aug 2012 01:50:56 +0000 (20:50 -0500)
Signed-off-by: Steve French <sfrench@us.ibm.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsfs.c

index 94b5a2a18cabfd08eb11abee54fa99d8db9d54a5..4dda4890d776152f2f7a67bc22a32724fdf5bac2 100644 (file)
@@ -88,7 +88,9 @@ extern mempool_t *cifs_mid_poolp;
 
 struct workqueue_struct        *cifsiod_wq;
 
+#ifdef CONFIG_HIGHMEM
 DEFINE_MUTEX(cifs_kmap_mutex);
+#endif
 
 static int
 cifs_read_super(struct super_block *sb)