x86, cacheinfo: Fix dependency of AMD L3 CID
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Fri, 17 Sep 2010 16:07:45 +0000 (18:07 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 17 Sep 2010 20:25:56 +0000 (13:25 -0700)
L3 cache index disable code uses PCI accesses to AMD northbridge functions.
Currently the code is #ifdef CONFIG_CPU_SUP_AMD.
But it should be #if (defined(CONFIG_CPU_SUP_AMD) && defined(CONFIG_PCI))
which in the end is a dependency to K8_NB.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20100917160744.GF4958@loge.amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

No differences found