aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-09-08 09:46:06 -0700
committerRoland McGrath <mcgrathr@chromium.org>2011-09-08 09:46:06 -0700
commita12b2239ddec16b07f2850786151d64e07b86d53 (patch)
tree106e18cf38db073e6322047b44d31507708e9382
parent7f513ec8b3cd7816a897052bd472c0bfd553e910 (diff)
downloadglibc-a12b2239ddec16b07f2850786151d64e07b86d53.tar
glibc-a12b2239ddec16b07f2850786151d64e07b86d53.tar.gz
glibc-a12b2239ddec16b07f2850786151d64e07b86d53.tar.bz2
glibc-a12b2239ddec16b07f2850786151d64e07b86d53.zip
sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/mach/hurd/sys/param.h6
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b0d57146e..fee3433e97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
garbage value in a __mach_port_mod_refs call in the cases of the
task-self and thread-self ports.
+2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
+
2011-09-08 Andreas Schwab <schwab@redhat.com>
* elf/dl-load.c (lose): Check for non-null L.
diff --git a/sysdeps/mach/hurd/sys/param.h b/sysdeps/mach/hurd/sys/param.h
index 699ba35109..21dc41266c 100644
--- a/sysdeps/mach/hurd/sys/param.h
+++ b/sysdeps/mach/hurd/sys/param.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1994, 1995, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1994,1995,1997,1999,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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