]> bbs.cooldavid.org Git - net-next-2.6.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@zytor.com>
Mon, 3 May 2010 21:34:24 +0000 (14:34 -0700)
commitd88d95eb1c2a72b6126a550debe0883ff723a948
treecaec2837084a3ea0cdac94438a7dbd01aa12afb0
parent59d3b388741cf1a5eb7ad27fd4e9ed72643164ae
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>
arch/x86/include/asm/k8.h