aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-02-18 19:37:14 +0100
committerH. Peter Anvin <hpa@zytor.com>2010-02-18 21:59:07 -0800
commitcb19060abfdecac0d1eb2d2f0e7d6b7a3f8bc4f4 (patch)
tree994491932034c4b6be2a1c08d4098899c80aff8e /drivers/char/agp
parentx86, cacheinfo: Remove NUMA dependency, fix for AMD Fam10h rev D1 (diff)
downloadlinux-dev-cb19060abfdecac0d1eb2d2f0e7d6b7a3f8bc4f4.tar.xz
linux-dev-cb19060abfdecac0d1eb2d2f0e7d6b7a3f8bc4f4.zip
x86, cacheinfo: Enable L3 CID only on AMD
Final stage linking can fail with arch/x86/built-in.o: In function `store_cache_disable': intel_cacheinfo.c:(.text+0xc509): undefined reference to `amd_get_nb_id' arch/x86/built-in.o: In function `show_cache_disable': intel_cacheinfo.c:(.text+0xc7d3): undefined reference to `amd_get_nb_id' when CONFIG_CPU_SUP_AMD is not enabled because the amd_get_nb_id helper is defined in AMD-specific code but also used in generic code (intel_cacheinfo.c). Reorganize the L3 cache index disable code under CONFIG_CPU_SUP_AMD since it is AMD-only anyway. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> LKML-Reference: <20100218184210.GF20473@aftab> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/char/agp')
0 files changed, 0 insertions, 0 deletions