about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-07-29 05:39:49 +0000
committerUlrich Drepper <drepper@redhat.com>2007-07-29 05:39:49 +0000
commit5b74caf65208b16ba4480551de103625af9ca434 (patch)
tree1467945786a66982fff4ec115343583f2572310c
parent8f5e140031a944855846eb745c13e013c7b5539f (diff)
downloadglibc-5b74caf65208b16ba4480551de103625af9ca434.tar.gz
glibc-5b74caf65208b16ba4480551de103625af9ca434.tar.xz
glibc-5b74caf65208b16ba4480551de103625af9ca434.zip
* posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE
	entry.
-rw-r--r--ChangeLog3
-rw-r--r--posix/getconf.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 754eea77b3..9048743231 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-07-28  Ulrich Drepper  <drepper@redhat.com>
 
+	* posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE
+	entry.
+
 	[BZ 4858]
 	* stdio-common/printf_fp.c (___printf_fp): Fix special case of
 	#.0g and value rounded to 1.0.
diff --git a/posix/getconf.c b/posix/getconf.c
index 885f9f96cf..7e479a1685 100644
--- a/posix/getconf.c
+++ b/posix/getconf.c
@@ -911,6 +911,9 @@ static const struct conf vars[] =
 #ifdef _SC_LEVEL4_CACHE_ASSOC
     { "LEVEL4_CACHE_ASSOC", _SC_LEVEL4_CACHE_ASSOC, SYSCONF },
 #endif
+#ifdef _SC_LEVEL4_CACHE_LINESIZE
+    { "LEVEL4_CACHE_LINESIZE", _SC_LEVEL4_CACHE_LINESIZE, SYSCONF },
+#endif
 
 #ifdef _SC_IPV6
     { "IPV6", _SC_IPV6, SYSCONF },