From: Pino Toscano Date: Wed, 3 Oct 2012 20:57:38 +0000 (+0200) Subject: sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE X-Git-Tag: glibc-2.17~454 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb0c10a8f341a379c0dad31cded072e4542432e;p=thirdparty%2Fglibc.git sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE --- diff --git a/ChangeLog b/ChangeLog index e080539c64e..a19491f06c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-10-03 Pino Toscano + + * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for + _SC_LEVEL4_CACHE_LINESIZE. + 2012-10-03 Roland McGrath * sysdeps/unix/bsd/confstr.h: File removed. diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index d9b3c83ab75..bfe28b47eea 100644 --- a/sysdeps/posix/sysconf.c +++ b/sysdeps/posix/sysconf.c @@ -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. */