From: Samuel Thibault Date: Thu, 8 Sep 2011 16:46:06 +0000 (-0700) Subject: sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro. X-Git-Tag: upstream/2.30~12095 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a12b2239ddec16b07f2850786151d64e07b86d53;p=external%2Fglibc.git sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro. --- diff --git a/ChangeLog b/ChangeLog index 5b0d571..fee3433 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 + + * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro. + 2011-09-08 Andreas Schwab * 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 699ba35..21dc412 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