[openib-general] [PATCH v2 1/2] ofed_1_2 Changes to kernel_patches/ for ChelsioT3 Support.
Michael S. Tsirkin
mst at mellanox.co.il
Thu Jan 11 15:14:54 PST 2007
> What if its already built in and export in the kernel we're trying to
> load into? Will this cause a load problem? I was assuming it
> would...that's why I changed the names. Am I wrong?
BTW, if you want to change a definition of an existing symbol,
you can use macro trick like the folowing (this is from
./2.6.9_U2/include/net/sock.h):
static inline
void sock_init_data_new(struct socket *sock, struct sock *sk)
{
sock_init_data(sock, sk);
sk->sk_owner = THIS_MODULE;
}
#define sock_init_data sock_init_data_new
--
MST
More information about the general
mailing list