mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
sysconf.cc: Fix compiler warning.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
38fd7ddb79
commit
8fb2a01188
@ -428,6 +428,8 @@ get_cpu_cache_amd (int in, uint32_t maxe)
|
||||
else if (in >= _SC_LEVEL2_CACHE_SIZE && in <= _SC_LEVEL3_CACHE_LINESIZE
|
||||
&& maxe >= 0x80000006)
|
||||
cpuid (&eax, &ebx, &ecx, &edx, 0x80000006);
|
||||
else
|
||||
return 0;
|
||||
|
||||
switch (in)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user