xen: x86_32p: fix build breakage from 22456:1b6cc8c6d1c7
PATCH 1/1 xen: x86_32p: fix build breakage from 22456:1b6cc8c6d1c7
# HG changeset patch
# User Ian Campbell <[email protected]>
# Date 1291302603 0
# Node ID 5e9f6417bc3574a273d84b857e6244a7d57f7544 # Parent f2ade357042fbac43f90ea70b18b55ea8e5bbd14
xen: x86_32p: fix build breakage from 22456:1b6cc8c6d1c7
Signed-off-by Ian Campbell <[email protected]>
xen/arch/x86/x86_32/pci.c +0 -3
@@ -10,9 +10,6 @@#define PCI_CONF_ADDRESS (bus, dev, func, reg) \ (0x80000000 | (bus << 16) | (dev << 11) | (func << 8) | (reg & ~3)) - -uint32_t pci_conf_read (uint32_t cf8,uint8_t offset,uint8_t bytes); -void pci_conf_write (uint32_t cf8,uint8_t offset,uint8_t bytes,uint32_t data);uint8_t pci_conf_read8 (unsigned int bus,unsigned int dev,unsigned int func,unsigned int reg)
xen/arch/x86/x86_32/traps.c +2 -2
@@ -19,6 +19,8 @@#include <asm/hvm/support.h> #include <public/callback.h> + +extern asmlinkage int hypercall(void);static void print_xen_info (void ) {
@@ -333,7 +335,6 @@ void __devinit subarch_percpu_traps_initvoid __devinit subarch_percpu_traps_init (void ) {struct tss_struct *tss; - asmlinkage int hypercall(void);int cpu =smp_processor_id ();if ( cpu ==0 )
@@ -549,7 +550,6 @@ long do_set_callbacks(unsigned long evenstatic void hypercall_page_initialise_ring0_kernel (void *hypercall_page) { - extern asmlinkage int hypercall(void);char *p;int i;