sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.

This commit is contained in:
Samuel Thibault 2011-09-08 09:46:06 -07:00 committed by Roland McGrath
parent 7f513ec8b3
commit a12b2239dd
2 changed files with 9 additions and 1 deletions

View File

@ -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.

View File

@ -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