diff options
author | davej <davej> | 2001-04-08 02:21:07 +0000 |
---|---|---|
committer | davej <davej> | 2001-04-08 02:21:07 +0000 |
commit | 279a21b5dd4a4f4561ac83ed01b9954776c5c371 (patch) | |
tree | 54b73dc3dc7c7265cf9d745d26c712ebb0c6dd58 /cpuid.c | |
parent | f4ef52388af46bdc1615d2f28975ede745fcdc4f (diff) |
Print warning when using UP routines on SMP.
Diffstat (limited to 'cpuid.c')
-rw-r--r-- | cpuid.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * $Id: cpuid.c,v 1.2 2001/02/26 16:44:27 davej Exp $ + * $Id: cpuid.c,v 1.3 2001/04/08 02:21:07 davej Exp $ * This file is part of x86info * (C) 2000, 2001 Dave Jones. * Fixes by Arjan van de Ven (arjanv@redhat.com) and @@ -47,6 +47,8 @@ void cpuid (int CPU_number, int index, close (fh); } else { /* Something went wrong, just do UP and hope for the best. */ + printf ("Detected SMP, but cpuid driver not loaded.\n"); + printf ("Falling back to UP cpuid routine.\n"); cpuid_UP (index, eax, ebx, ecx, edx); } } |