From a12b2239ddec16b07f2850786151d64e07b86d53 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 8 Sep 2011 09:46:06 -0700 Subject: sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro. --- ChangeLog | 4 ++++ sysdeps/mach/hurd/sys/param.h | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 + + * 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 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 -- cgit 1.4.1