summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-08-12 17:54:39 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-08-12 17:54:39 +0000
commit86f981f6d5564f9bb907fe1dfdb69fb76f4dfe4a (patch)
treef8c758f8861d00d4b9f01f0ebfdd29997faa251e /sys/arch/sparc64/include
parentf74250732895549b7c85a7f9636f38b94475e920 (diff)
Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT)
in the six cases using "512". As DEV_BSHIFT is always 9, this should be a no-op. "no objections" miod@ "I can't see any problem doing this." pedro@
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h
index 8e7ecc5f3c9..0de28e1cb99 100644
--- a/sys/arch/sparc64/include/param.h
+++ b/sys/arch/sparc64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.20 2006/03/19 01:47:24 martin Exp $ */
+/* $OpenBSD: param.h,v 1.21 2006/08/12 17:54:38 krw Exp $ */
/* $NetBSD: param.h,v 1.25 2001/05/30 12:28:51 mrg Exp $ */
/*
@@ -106,8 +106,8 @@
extern int nbpg, pgofset, pgshift;
#endif
-#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
+#define DEV_BSIZE (1 << DEV_BSHIFT)
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (64 * 1024)