|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86: remove c_identify of the struct cpu_dev
commit 36cfcb43e9a4066e34c64659ac8c7248d169a8db
Author: Yi Li <peteryili@xxxxxxxxxxx>
AuthorDate: Thu May 8 14:06:10 2014 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu May 8 14:06:10 2014 +0200
x86: remove c_identify of the struct cpu_dev
After commit 44e24f85674d (x86: don't call generic_identify() redundantly)
the struct cpu_dev don't need the c_identify.
Signed-off-by: Yi Li <peteryili@xxxxxxxxxxx>
---
xen/arch/x86/cpu/common.c | 13 +------------
xen/arch/x86/cpu/cpu.h | 1 -
2 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/xen/arch/x86/cpu/common.c b/xen/arch/x86/cpu/common.c
index 2c128e5..4122684 100644
--- a/xen/arch/x86/cpu/common.c
+++ b/xen/arch/x86/cpu/common.c
@@ -270,23 +270,12 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
generic_identify(c);
#ifdef NOISY_CAPS
- printk(KERN_DEBUG "CPU: After generic identify, caps:");
+ printk(KERN_DEBUG "CPU: After vendor identify, caps:");
for (i = 0; i < NCAPINTS; i++)
printk(" %08x", c->x86_capability[i]);
printk("\n");
#endif
- if (this_cpu->c_identify) {
- this_cpu->c_identify(c);
-
-#ifdef NOISY_CAPS
- printk(KERN_DEBUG "CPU: After vendor identify, caps:");
- for (i = 0; i < NCAPINTS; i++)
- printk(" %08x", c->x86_capability[i]);
- printk("\n");
-#endif
- }
-
/*
* Vendor-specific initialization. In this section we
* canonicalize the feature flags, meaning if there are
diff --git a/xen/arch/x86/cpu/cpu.h b/xen/arch/x86/cpu/cpu.h
index a7b7421..68563bb 100644
--- a/xen/arch/x86/cpu/cpu.h
+++ b/xen/arch/x86/cpu/cpu.h
@@ -6,7 +6,6 @@ struct cpu_dev {
char * c_ident[2];
void (*c_init)(struct cpuinfo_x86 * c);
- void (*c_identify)(struct cpuinfo_x86 * c);
};
extern struct cpu_dev * cpu_devs [X86_VENDOR_NUM];
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |