]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: fix build breakage when PCI is define and PARAVIRT is not
authorRavikiran G Thirumalai <kiran@scalex86.org>
Thu, 20 Mar 2008 07:41:16 +0000 (00:41 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:08 +0000 (17:41 +0200)
commitaa7d8e25eca5deb33eb08013bc78a80514349b40
tree71075bf2c7103641377e5e182102cf8350797f8b
parent3250c91ada16a06de5afef55bce7b766c894d75c
x86: fix build breakage when PCI is define and PARAVIRT is not

- Fix the the build breakage when PARAVIRT is defined
  but PCI is not
  This fixes problem reported at:
http://marc.info/?l=linux-kernel&m=120525966600698&w=2
- Make is_vsmp_box() available even when PARAVIRT is not defined.
  This is needed to determine if tsc's are reliable as a time source
  even when PARAVIRT is not defined.
- split vsmp_init to use is_vsmp_box() and set_vsmp_pv_ops()
  set_vsmp_pv_ops will do nothing if PCI is not enabled in the config.

Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/Makefile
arch/x86/kernel/setup_64.c
arch/x86/kernel/vsmp_64.c
include/asm-x86/apic.h