[ewg] Re: [PATCH] backport patches for ib_ipath for 2.6.26
Vladimir Sokolovsky
vlad at mellanox.co.il
Thu Aug 7 00:39:08 PDT 2008
Ralph Campbell wrote:
> These two commits allow ib_ipath to compile again.
> Vlad, please pull from:
>
> git://git.openfabrics.org/~ralphc/ofed-1.4-linux-2.6/.git ofed_kernel
>
> commit 76185d73a6cc500e7199e3a153d67fac8f9818dc
> Author: Ralph Campbell (QLogic) <ralphc at hosting.openfabrics.org>
> Date: Wed Aug 6 13:48:15 2008 -0700
>
> BACKPORT - ipath dma_map_error() change
>
> This patch undoes the changes made by commit ID
> 8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06
>
> Signed-off-by: Ralph Campbell <ralph.campbell at qlogic.com>
>
> commit 1eecfce46ff31717c8803d6fd59ca54137e1d13a
> Author: Ralph Campbell (QLogic) <ralphc at hosting.openfabrics.org>
> Date: Wed Aug 6 13:43:35 2008 -0700
>
> BACKPORT - add new file rculist.h
>
> This was added in 2.6.27
>
> Signed-off-by: Ralph Campbell <ralph.campbell at qlogic.com>
>
>
Applied,
But it does not resolve compilation issue:
Build failed on 2.6.26
Build failed on 2.6.23
Build failed on 2.6.25
Build failed on 2.6.21.1
Build failed on 2.6.18-8.el5
Build failed on 2.6.22.1
Build failed on 2.6.20
Build failed on 2.6.24.3
Build failed on 2.6.17
Build failed on 2.6.19
Build failed on 2.6.18.6
Build failed on 2.6.18-53.el5
Build failed on 2.6.18-93.el5
Build failed on 2.6.9-42.ELsmp
Build failed on 2.6.9-55.ELsmp
Build failed on 2.6.9-67.ELsmp
gcc -Wp,-MD,/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/infiniband/hw/ipath/.ipath_file_ops.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include -D__KERNEL__
-include include/linux/autoconf.h -include /tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/include/linux/autoconf.h
-I/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/kernel_addons/backport/2.6.26/include/ -include /tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/infiniband/debug/mtrack.h
-Werror-implicit-function-declaration -I/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/include -I/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/infiniband/debug
-I/usr/local/include/scst -I/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/infiniband/ulp/srpt -I/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/net/cxgb3
-Iinclude -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m64 -mtune=generic -mno-red-zone
-mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2
-mno-3dnow -Iinclude/asm-x86/mach-default -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -DIPATH_IDSTR='"QLogic kernel.org driver"' -DIPATH_KERN_TYPE=0 -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(ipath_file_ops)" -D"KBUILD_MODNAME=KBUILD_STR(ib_ipath)" -c -o
/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/infiniband/hw/ipath/ipath_file_ops.o /tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/infiniband/hw/ipath/ipath_file_ops.c
/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/infiniband/hw/ipath/ipath_file_ops.c: In function 'ipath_open':
/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/infiniband/hw/ipath/ipath_file_ops.c:1819: error: implicit declaration of function 'cycle_kernel_lock'
make[4]: *** [/tmp/ofa_1_4_dev_kernel-20080807-1001_linux-2.6.26_check/drivers/infiniband/hw/ipath/ipath_file_ops.o] Error 1
Regards,
Vladimir
More information about the ewg
mailing list