From: James Simmons Date: Thu, 5 Jun 2014 00:36:17 +0000 (-0400) Subject: LU-5140 build: Make ko2iblnd buildable with Mellanox and newer kernels X-Git-Tag: 2.6.0-RC1~89 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=26d8420f685bfbf3e0cf35f69e04cc68588340dc;hp=26d8420f685bfbf3e0cf35f69e04cc68588340dc LU-5140 build: Make ko2iblnd buildable with Mellanox and newer kernels The libcfs layer handles different level of support for process namespace support. It does this by examining the uidgid.h header. Both newer kernels and the Mellanox external OFED stack supply their own uidgid.h header. In the current ko2iblnd driver it completely ignores the Mellanox uidgid.h version which ends up conflicting with the native uidgid.h header. The reason libcfs misses the Mellanox handling is because the libcfs and lnet headers are placed before the Mellanox headers so the definations are missed. This patch moves all the libcfs and lnet headers after the Mellanox header section. Change-Id: Ibd7425b4a4d5b0f59c48e2007d870c67adb5f63d Signed-off-by: James Simmons Reviewed-on: http://review.whamcloud.com/10571 Tested-by: Jenkins Reviewed-by: Bob Glossman Reviewed-by: Liang Zhen Reviewed-by: Shuichi Ihara Tested-by: Maloo Reviewed-by: Patrick Farrell Reviewed-by: Oleg Drokin ---