Module Name: src
Committed By: mrg
Date: Mon Mar 22 02:14:28 UTC 2010
Modified Files:
src/sys/arch/powerpc/include: param.h
Log Message:
default powerpc64 mbufs to 512 bytes, like other 64 bit platforms.
from [email protected] in PR#43028.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/powerpc/include/param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/include/param.h
diff -u src/sys/arch/powerpc/include/param.h:1.21 src/sys/arch/powerpc/include/param.h:1.22
--- src/sys/arch/powerpc/include/param.h:1.21 Mon Feb 8 19:02:31 2010
+++ src/sys/arch/powerpc/include/param.h Mon Mar 22 02:14:28 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.21 2010/02/08 19:02:31 joerg Exp $ */
+/* $NetBSD: param.h,v 1.22 2010/03/22 02:14:28 mrg Exp $ */
/*-
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -91,7 +91,11 @@
* of the hardware page size.
*/
#ifndef MSIZE
+#ifdef _LP64
+#define MSIZE 512 /* size of an mbuf */
+#else /* _LP64 */
#define MSIZE 256 /* size of an mbuf */
+#endif /* _LP64 */
#endif
#ifndef MCLSHIFT
#define MCLSHIFT 11 /* convert bytes to m_buf clusters */