diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-08-16 01:21:52 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-08-16 01:21:52 +0000 |
| commit | 86a14a7a0aa00514f670234d7da4fca666ef97b2 (patch) | |
| tree | 15b6ec0d874d0adefec798c7746356bdd80ceb8c /sys/fs/umapfs/umap_subr.c | |
| parent | 9d97be35113fa6aa1f070bb8fca7f5a78aeb46b2 (diff) | |
Notes
Diffstat (limited to 'sys/fs/umapfs/umap_subr.c')
| -rw-r--r-- | sys/fs/umapfs/umap_subr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c index dd93078e647d..fc4d5eb4575a 100644 --- a/sys/fs/umapfs/umap_subr.c +++ b/sys/fs/umapfs/umap_subr.c @@ -35,7 +35,7 @@ * * @(#)umap_subr.c 8.9 (Berkeley) 5/14/95 * - * $Id: umap_subr.c,v 1.12 1998/02/07 01:36:24 kato Exp $ + * $Id: umap_subr.c,v 1.13 1998/02/09 06:09:48 eivind Exp $ */ #include <sys/param.h> @@ -58,7 +58,8 @@ */ #define UMAP_NHASH(vp) \ - (&umap_node_hashtbl[(((u_long)vp)>>LOG2_SIZEVNODE) & umap_node_hash]) + (&umap_node_hashtbl \ + [((uintptr_t)(void *)(vp) >> LOG2_SIZEVNODE) & umap_node_hash]) static LIST_HEAD(umap_node_hashhead, umap_node) *umap_node_hashtbl; static u_long umap_node_hash; |
