[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH,HURD]: Define DEV_BSIZE
From: |
Samuel Thibault |
Subject: |
[PATCH,HURD]: Define DEV_BSIZE |
Date: |
Tue, 6 Sep 2011 00:06:34 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
The unit of st_blocks is already fixed to 512 by the existing S_BLKSIZE
macro.
2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): Define macro.
diff --git a/sysdeps/mach/hurd/sys/param.h b/sysdeps/mach/hurd/sys/param.h
index 699ba35..29cb1e3 100644
--- a/sysdeps/mach/hurd/sys/param.h
+++ b/sysdeps/mach/hurd/sys/param.h
@@ -119,6 +119,10 @@
#define MAX(a,b) (((a)>(b))?(a):(b))
+/* Unit of `st_blocks'. */
+#define DEV_BSIZE 512
+
+
/* Scale factor for scaled integers used to count %cpu time and load avgs.
The number of CPU `tick's that map to a unique `%age' can be expressed
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH,HURD]: Define DEV_BSIZE,
Samuel Thibault <=