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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 May 2010 21:29:18 +0000 (14:29 -0700)
commitb53d27ff66e343520df4d287c419235fbe6e3fea
tree9ab595b43e72a6b5cbb0c0beb3d983e40f12d175
parent7ff4b9ccdac041b6745b9c43ac2cc5639ffc8c1b
x86, k8: Fix build error when K8_NB is disabled

commit ade029e2aaacc8965a548b0b0f80c5bee97ffc68 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/k8.h