]> git.baikalelectronics.ru Git - kernel.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)
commit86ac149e0c66153f9d828f50c06f9479237ce4e1
tree6b007dcdf36b35a091b8a466648b1104828a94ce
parentb407d05cfbc718b994a7c51bf099e898fd5624d5
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