x86, AMD: Remove needless CPU family check (for L3 cache info)
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Thu, 2 Sep 2010 13:37:10 +0000 (15:37 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 5 Sep 2010 12:33:48 +0000 (14:33 +0200)
commitd9fadd7ba99a67030783a212bcb17d11f0678433
tree6aef819ce987cd81692df07287f7b9bbb2024934
parentacf01734b1747b1ec4be6f159aff579ea5f7f8e2
x86, AMD: Remove needless CPU family check (for L3 cache info)

Old 32-bit AMD CPUs (all w/o L3 cache) should always return 0
for cpuid_edx(0x80000006).

For unknown reason the 32-bit implementation differed from the
64-bit implementation. See commit 67cddd94799 ("i386: Add L3 cache
support to AMD CPUID4 emulation"). The current check is the
result of the x86 merge.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Andi Kleen <andi@firstfloor.org>
LKML-Reference: <20100902133710.GA5449@loge.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/amd.c