Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1259028
| From | James Simmons <jsimmons@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/6] staging: lustre: move linux hash.h header to start of libcfs_hash.h |
| Date | 2015-10-29 22:40 +0100 |
| Message-ID | <qp35q-5yq-53@gated-at.bofh.it> (permalink) |
| References | <qp35p-5yq-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: James Simmons <uja.ornl@yahoo.com> Minor style cleanup to put hash.h header to the top of the libcfs_hash.h file. Signed-off-by: James Simmons <jsimmons@infradead.org> --- .../lustre/include/linux/libcfs/libcfs_hash.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h index 4a78e6d..2e0c892 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h @@ -41,6 +41,9 @@ #ifndef __LIBCFS_HASH_H__ #define __LIBCFS_HASH_H__ + +#include <linux/hash.h> + /* * Knuth recommends primes in approximately golden ratio to the maximum * integer representable by a machine word for multiplicative hashing. @@ -56,8 +59,6 @@ /* 2^63 + 2^61 - 2^57 + 2^54 - 2^51 - 2^18 + 1 */ #define CFS_GOLDEN_RATIO_PRIME_64 0x9e37fffffffc0001ULL -#include <linux/hash.h> - /** disable debug */ #define CFS_HASH_DEBUG_NONE 0 /** record hash depth and output to console when it's too deep, -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/6] staging: lustre: second series for libcfs hash code cleanup James Simmons <jsimmons@infradead.org> - 2015-10-29 22:40 +0100 [PATCH 1/6] staging: lustre: remove white space in libcfs_hash.h James Simmons <jsimmons@infradead.org> - 2015-10-29 22:40 +0100 [PATCH 4/6] staging: lustre: fix remaining checkpatch issues for libcfs_hash.h James Simmons <jsimmons@infradead.org> - 2015-10-29 22:40 +0100 [PATCH 5/6] staging: lustre: remove white space in hash.c James Simmons <jsimmons@infradead.org> - 2015-10-29 22:40 +0100 [PATCH 6/6] staging: lustre: place linux header first in hash.c James Simmons <jsimmons@infradead.org> - 2015-10-29 22:40 +0100 [PATCH 3/6] staging: lustre: move linux hash.h header to start of libcfs_hash.h James Simmons <jsimmons@infradead.org> - 2015-10-29 22:40 +0100
csiph-web