summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/Hv.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-29 22:37:12 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:53 (GMT)
commitf931a70c370cc826191a51a79500b34cd592b25b (patch)
treeffcc04a08a3d65dc47994d37752043b5fd634672 /drivers/staging/hv/Hv.c
parent45da89e559219d24a639f24a8d95a6c71d54736f (diff)
downloadlinux-fsl-qoriq-f931a70c370cc826191a51a79500b34cd592b25b.tar.xz
Staging: hv: remove custom cpuid function
Use the one that the kernel provides, it does it correctly. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Hv.c')
-rw-r--r--drivers/staging/hv/Hv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c
index 334812f..4b9b3fb 100644
--- a/drivers/staging/hv/Hv.c
+++ b/drivers/staging/hv/Hv.c
@@ -61,7 +61,7 @@ HvQueryHypervisorPresence (
ecx = 0;
edx = 0;
op = HvCpuIdFunctionVersionAndFeatures;
- do_cpuid(op, &eax, &ebx, &ecx, &edx);
+ cpuid(op, &eax, &ebx, &ecx, &edx);
return (ecx & HV_PRESENT_BIT);
}
@@ -99,7 +99,7 @@ HvQueryHypervisorInfo (
ecx = 0;
edx = 0;
op = HvCpuIdFunctionHvVendorAndMaxFunction;
- do_cpuid(op, &eax, &ebx, &ecx, &edx);
+ cpuid(op, &eax, &ebx, &ecx, &edx);
DPRINT_INFO(VMBUS, "Vendor ID: %c%c%c%c%c%c%c%c%c%c%c%c",
(ebx & 0xFF),
@@ -121,7 +121,7 @@ HvQueryHypervisorInfo (
ecx = 0;
edx = 0;
op = HvCpuIdFunctionHvInterface;
- do_cpuid(op, &eax, &ebx, &ecx, &edx);
+ cpuid(op, &eax, &ebx, &ecx, &edx);
DPRINT_INFO(VMBUS, "Interface ID: %c%c%c%c",
(eax & 0xFF),
@@ -135,7 +135,7 @@ HvQueryHypervisorInfo (
ecx = 0;
edx = 0;
op = HvCpuIdFunctionMsHvVersion;
- do_cpuid(op, &eax, &ebx, &ecx, &edx);
+ cpuid(op, &eax, &ebx, &ecx, &edx);
DPRINT_INFO(VMBUS, "OS Build:%d-%d.%d-%d-%d.%d",
eax,
ebx >> 16,