]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE
authorPino Toscano <toscano.pino@tiscali.it>
Wed, 3 Oct 2012 20:57:38 +0000 (22:57 +0200)
committerPino Toscano <toscano.pino@tiscali.it>
Wed, 3 Oct 2012 20:57:38 +0000 (22:57 +0200)
ChangeLog
sysdeps/posix/sysconf.c

index e080539c64e18c7ccbe5032cf97add84e2b6c58e..a19491f06c67004ad57335a5d20d61613bf0f6eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index d9b3c83ab7526f2a95453ebfc733aa13c4f72aa7..bfe28b47eea2d5c0a7d157f3e46b9cf8fd1ee4e5 100644 (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.  */