summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/vnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/vnode.h')
-rw-r--r--usr/src/uts/common/sys/vnode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/vnode.h b/usr/src/uts/common/sys/vnode.h
index e9f247ae1a..1fbcb29005 100644
--- a/usr/src/uts/common/sys/vnode.h
+++ b/usr/src/uts/common/sys/vnode.h
@@ -262,7 +262,11 @@ typedef struct vnode {
#define VNODE_ALIGN 64
/* Count of low-order 0 bits in a vnode *, based on size and alignment. */
+#if defined(_LP64)
#define VNODE_ALIGN_LOG2 8
+#else
+#define VNODE_ALIGN_LOG2 7
+#endif
/*
* vnode flags.