]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i386: remove redundant generic_identify() calls when identifying cpus
authorMagnus Damm <magnus@valinux.co.jp>
Tue, 26 Sep 2006 08:52:36 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:36 +0000 (10:52 +0200)
commit68bbc172cd1b0ee01814304b8a7bef8922d5fdca
treec3b9aa2cf226a6c20b4959abe4788749dd91f9d0
parent6ad916581181a105d7832a7dec9e1eb58f7a1621
[PATCH] i386: remove redundant generic_identify() calls when identifying cpus

cpu_dev->c_identify is only called from arch/i386/common.c:identify_cpu(), and
this after generic_identify() already has been called. There is no need to call
this function twice and hook it in c_identify - but I may be wrong, please
double check before applying.

This patch also removes generic_identify() from cpu.h to avoid unnecessary
future nesting.

Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/cpu/amd.c
arch/i386/kernel/cpu/common.c
arch/i386/kernel/cpu/cpu.h
arch/i386/kernel/cpu/cyrix.c
arch/i386/kernel/cpu/intel.c
arch/i386/kernel/cpu/nexgen.c
arch/i386/kernel/cpu/transmeta.c