X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=libcfs%2Flibcfs%2Fuser-bitops.c;h=870ad54ed0a9765910b1f01c5412ccff62f16d4e;hb=809d46b65bcd1cbca5b75b3c5736d85c77afa225;hp=d8870507176483a088d23ae484d8cab2e80cbebc;hpb=0f8dca08a4f68cba82c2c822998ecc309d3b7aaf;p=fs%2Flustre-release.git diff --git a/libcfs/libcfs/user-bitops.c b/libcfs/libcfs/user-bitops.c index d887050..870ad54 100644 --- a/libcfs/libcfs/user-bitops.c +++ b/libcfs/libcfs/user-bitops.c @@ -1,6 +1,4 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: - * +/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -28,6 +26,8 @@ /* * Copyright (c) 2008, 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/ @@ -40,7 +40,7 @@ #define OFF_BY_START(start) ((start)/BITS_PER_LONG) -unsigned long cfs_find_next_bit(unsigned long *addr, +unsigned long find_next_bit(unsigned long *addr, unsigned long size, unsigned long offset) { unsigned long *word, *last; @@ -74,7 +74,7 @@ found: return base + bit; } -unsigned long cfs_find_next_zero_bit(unsigned long *addr, +unsigned long find_next_zero_bit(unsigned long *addr, unsigned long size, unsigned long offset) { unsigned long *word, *last;