]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, k8: Fix build error when K8_NB is disabled
authorBorislav Petkov <borislav.petkov@amd.com>
Sat, 24 Apr 2010 07:56:53 +0000 (09:56 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 14 May 2010 18:53:01 +0000 (11:53 -0700)
commitade029e2aaacc8965a548b0b0f80c5bee97ffc68
tree6b007dcdf36b35a091b8a466648b1104828a94ce
parentf01487119dda3d9f58c9729c7361ecc50a61c188
x86, k8: Fix build error when K8_NB is disabled

K8_NB depends on PCI and when the last is disabled (allnoconfig) we fail
at the final linking stage due to missing exported num_k8_northbridges.
Add a header stub for that.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <20100503183036.GJ26107@aftab>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: <stable@kernel.org>
arch/x86/include/asm/k8.h