summaryrefslogtreecommitdiff
path: root/cpuid.c
diff options
context:
space:
mode:
authordavej <davej>2001-04-08 02:21:07 +0000
committerdavej <davej>2001-04-08 02:21:07 +0000
commit279a21b5dd4a4f4561ac83ed01b9954776c5c371 (patch)
tree54b73dc3dc7c7265cf9d745d26c712ebb0c6dd58 /cpuid.c
parentf4ef52388af46bdc1615d2f28975ede745fcdc4f (diff)
Print warning when using UP routines on SMP.
Diffstat (limited to 'cpuid.c')
-rw-r--r--cpuid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpuid.c b/cpuid.c
index 7763a4a..769819e 100644
--- a/cpuid.c
+++ b/cpuid.c
@@ -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);
}
}