X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Fklnds%2Fo2iblnd%2Fo2iblnd.h;h=77eac8148fca1184b01614cb3369f8b260cb5de7;hb=4d107e91a5d5a7f50a46507dcb29a4610087158e;hp=87c7cc0ec5bad1ce033766bf39df6be2562f12b1;hpb=c88317218461159cae399f74b459a850ae3c84f8;p=fs%2Flustre-release.git diff --git a/lnet/klnds/o2iblnd/o2iblnd.h b/lnet/klnds/o2iblnd/o2iblnd.h index 87c7cc0..77eac81 100644 --- a/lnet/klnds/o2iblnd/o2iblnd.h +++ b/lnet/klnds/o2iblnd/o2iblnd.h @@ -27,7 +27,7 @@ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2011, 2012, Intel Corporation. + * Copyright (c) 2011, 2013, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -38,6 +38,7 @@ * Author: Eric Barton */ +#include #include #include #include @@ -58,6 +59,9 @@ #include #include #include +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,32) +#include +#endif #include #include @@ -1067,7 +1071,7 @@ void kiblnd_tunables_fini(void); int kiblnd_connd (void *arg); int kiblnd_scheduler(void *arg); -int kiblnd_thread_start (int (*fn)(void *arg), void *arg); +int kiblnd_thread_start(int (*fn)(void *arg), void *arg, char *name); int kiblnd_failover_thread (void *arg); int kiblnd_alloc_pages(kib_pages_t **pp, int cpt, int npages);