Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernels from 2.6.21 not need include linux/config.h, but add include
[fs/lustre-release.git]
/
lnet
/
klnds
/
openiblnd
/
openiblnd.h
diff --git
a/lnet/klnds/openiblnd/openiblnd.h
b/lnet/klnds/openiblnd/openiblnd.h
index
ad97c9d
..
56871b6
100644
(file)
--- a/
lnet/klnds/openiblnd/openiblnd.h
+++ b/
lnet/klnds/openiblnd/openiblnd.h
@@
-24,8
+24,9
@@
#ifndef EXPORT_SYMTAB
# define EXPORT_SYMTAB
#endif
-
+#ifdef HAVE_KERNEL_CONFIG_H
#include <linux/config.h>
+#endif
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/mm.h>