X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Fklnds%2Fsocklnd%2Fsocklnd_lib-darwin.h;h=7da8dcdc16267cb6f89d8f803086b1e8dde6255c;hp=9e7574ac807c194eb9ff5b62a9328c1ae8f274d8;hb=9c6ebfd11be1cc11629a2960c8c818492e1f0980;hpb=ed88907a96ba81d3558e71ade9def98bdc785169 diff --git a/lnet/klnds/socklnd/socklnd_lib-darwin.h b/lnet/klnds/socklnd/socklnd_lib-darwin.h index 9e7574a..7da8dcd 100644 --- a/lnet/klnds/socklnd/socklnd_lib-darwin.h +++ b/lnet/klnds/socklnd/socklnd_lib-darwin.h @@ -1,3 +1,39 @@ +/* + * GPL HEADER START + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 only, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License version 2 for more details (a copy is included + * in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU General Public License + * version 2 along with this program; If not, see + * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf + * + * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, + * CA 95054 USA or visit www.sun.com if you need additional information or + * have any questions. + * + * GPL HEADER END + */ +/* + * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. + * Use is subject to license terms. + * + * Copyright (c) 2012, Intel Corporation. + */ +/* + * This file is part of Lustre, http://www.lustre.org/ + * Lustre is a trademark of Sun Microsystems, Inc. + */ + #ifndef __XNU_SOCKNAL_LIB_H__ #define __XNU_SOCKNAL_LIB_H__ @@ -29,11 +65,4 @@ #include -static inline -int ksocknal_nsched(void) -{ - /* XXX Liang: fix it */ - return 1; -} - #endif