diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2012-10-03 22:57:38 +0200 |
---|---|---|
committer | Pino Toscano <toscano.pino@tiscali.it> | 2012-10-03 22:57:38 +0200 |
commit | 5bb0c10a8f341a379c0dad31cded072e4542432e (patch) | |
tree | 3d84961959c41ae0118454f79964d93a96a347c4 | |
parent | 010188c6eabea5aa544ed8b7ff003d4d990610e8 (diff) | |
download | glibc-5bb0c10a8f341a379c0dad31cded072e4542432e.tar.gz glibc-5bb0c10a8f341a379c0dad31cded072e4542432e.tar.xz glibc-5bb0c10a8f341a379c0dad31cded072e4542432e.zip |
sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/posix/sysconf.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index e080539c64..a19491f06c 100644 --- 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. diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index d9b3c83ab7..bfe28b47ee 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. */ |