Jon,

The commit below added file kernel_addons/backport/2.6.22/bitops.h.
On ia64, we get the following error in the OFED 1.5 build
(from e-mail: [ofa-general] ofa_1_5_kernel 20090618-0200 daily build status):

Build failed on ia64 with linux-2.6.22
Log:
     from 
/home/vlad/tmp/ofa_1_5_kernel-20090618-0200_linux-2.6.22_ia64_check/drivers/infiniband/core/addr.c:36:
/home/vlad/tmp/ofa_1_5_kernel-20090618-0200_linux-2.6.22_ia64_check/kernel_addons/backport/2.6.22/include/asm/bitops.h:
 In function 'clear_bit_unlock':
/home/vlad/tmp/ofa_1_5_kernel-20090618-0200_linux-2.6.22_ia64_check/kernel_addons/backport/2.6.22/include/asm/bitops.h:8:
 error: implicit declaration of function 'smp_mb'
make[4]: *** 
[/home/vlad/tmp/ofa_1_5_kernel-20090618-0200_linux-2.6.22_ia64_check/drivers/infiniband/core/addr.o]
 Error 1

Problem is here (see ***==>):
#ifndef BACKPORT_ASM_BITOPS_H
#define BACKPORT_ASM_BITOPS_H

#include_next <asm/bitops.h>

static inline void clear_bit_unlock(unsigned long nr, volatile unsigned long 
*addr)
{
***==>  smp_mb__before_clear_bit();   <===**
        clear_bit(nr, addr);
}

#endif


-Jack

======================================================
commit efd0ec53f7ee8104d6648b1df494af8413e7db55
Author: Jon Mason <[email protected]>
Date:   Tue Jun 2 18:41:13 2009 -0500

    NFSRDMA: NFS backport for 2.6.22

    This patch provides the NFS backport for 2.6.22.  Since the RDMA
    infrastructure does not work for this kernel release, only TCP
    support has been tested.  It passes Connectathon as a client and server.

    Signed-Off-By: Jon Mason <[email protected]>
_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to