compat: fix export of __sg_page_iter*
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 28 Mar 2013 19:18:24 +0000 (20:18 +0100)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 29 Mar 2013 00:31:32 +0000 (17:31 -0700)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
compat/compat-3.9.c

index 7134caa9615b857e4f545b1e9f1eb19e073807df..1f2484216f92dbf8a4b4c793ca5ff2486771cc81 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/module.h>
 #include <linux/scatterlist.h>
 
-#ifndef __sg_page_iter_next
+#ifdef __sg_page_iter_next
 
 void __sg_page_iter_start(struct sg_page_iter *piter,
                          struct scatterlist *sglist, unsigned int nents,