sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE

This commit is contained in:
Pino Toscano 2012-10-03 22:57:38 +02:00
parent 010188c6ea
commit 5bb0c10a8f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
* sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
_SC_LEVEL4_CACHE_LINESIZE.
2012-10-03 Roland McGrath <roland@hack.frob.com>
* sysdeps/unix/bsd/confstr.h: File removed.

View File

@ -1227,6 +1227,7 @@ __sysconf (name)
case _SC_LEVEL3_CACHE_LINESIZE:
case _SC_LEVEL4_CACHE_SIZE:
case _SC_LEVEL4_CACHE_ASSOC:
case _SC_LEVEL4_CACHE_LINESIZE:
/* In general we cannot determine these values. Therefore we
return zero which indicates that no information is
available. */