From d1e6d2178d0b242c9ad40f77216f2f0cae57b97a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 6 Mar 2006 13:15:16 +0000 Subject: Updated to fedora-glibc-20060306T1239 --- sysdeps/unix/sysv/linux/x86_64/sysconf.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'sysdeps/unix/sysv/linux/x86_64/sysconf.c') diff --git a/sysdeps/unix/sysv/linux/x86_64/sysconf.c b/sysdeps/unix/sysv/linux/x86_64/sysconf.c index 99f704e1b9..726c5e33ac 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sysconf.c +++ b/sysdeps/unix/sysv/linux/x86_64/sysconf.c @@ -163,7 +163,7 @@ intel_check_word (int name, unsigned int value, bool *has_level_2, } -static long int +static long int __attribute__ ((noinline)) handle_intel (int name, unsigned int maxidx) { assert (maxidx >= 2); @@ -220,7 +220,7 @@ handle_intel (int name, unsigned int maxidx) } -static long int +static long int __attribute__ ((noinline)) handle_amd (int name) { unsigned int eax; @@ -293,12 +293,6 @@ handle_amd (int name) long int __sysconf (int name) { - if (name == _SC_CPUTIME || name == _SC_THREAD_CPUTIME) - { - /* XXX Test whether TSC is usable. */ - return 200112L; - } - /* We only handle the cache information here (for now). */ if (name < _SC_LEVEL1_ICACHE_SIZE || name > _SC_LEVEL4_CACHE_LINESIZE) return linux_sysconf (name); -- cgit v1.2.3