summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-05-02 19:03:06 +0000
committerderaadt <deraadt@openbsd.org>2014-05-02 19:03:06 +0000
commit1d45e040e72b9b4982c9a6109e398e7b04c21de4 (patch)
tree82e45d6526ef31735dc291e2cc82049af871ddec
parentDisable assembler version of SHA512 for now, it produces wrong results. (diff)
downloadwireguard-openbsd-1d45e040e72b9b4982c9a6109e398e7b04c21de4.tar.xz
wireguard-openbsd-1d45e040e72b9b4982c9a6109e398e7b04c21de4.zip
Change BLKDEV_IOSIZE to PAGE_SIZE
ok beck miod
-rw-r--r--sys/sys/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 79fd7e70d3e..2c21e4a634a 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.105 2014/01/12 11:26:09 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.106 2014/05/02 19:03:06 deraadt Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@@ -161,7 +161,7 @@
#define DEV_BSIZE (1 << _DEV_BSHIFT)
#ifdef _KERNEL
#define DEV_BSHIFT _DEV_BSHIFT
-#define BLKDEV_IOSIZE 2048
+#define BLKDEV_IOSIZE PAGE_SIZE
#endif /* _KERNEL */
/* pages to disk blocks */