diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/mach/hurd/sys/param.h | 6 |
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 |