Whamcloud - gitweb
LU-4071 build: Ignore semicolon for Intel compiler 64/7864/4
authorShuichi Ihara <sihara@ddn.com>
Sun, 6 Oct 2013 14:17:27 +0000 (23:17 +0900)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 25 Oct 2013 02:52:42 +0000 (02:52 +0000)
The build fails when if gcc is installed, but Intel compiler
is defined for mpicc. It does ignore semicolon for this case.

Signed-off-by: Shuichi Ihara <sihara@ddn.com>
Change-Id: Ia3306b32c8d886f7a3123ff3c6c967343f0c26b0
Reviewed-on: http://review.whamcloud.com/7864
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
libcfs/include/libcfs/posix/libcfs.h

index e6d91bc..f49fecd 100644 (file)
@@ -273,7 +273,9 @@ static inline int module_refcount(struct module *m)
  ***************************************************************************/
 
 struct shrinker {
-        ;
+#ifndef __INTEL_COMPILER
+       ;
+#endif
 };
 
 #define DEFAULT_SEEKS (0)