From: Jeremy Fitzhardinge Subject: [PATCH 11/11] xen: checkpatch cleanups Date: Thu, 7 May 2009 14:45:37 -0700 Message-ID: <1241732737-7669-12-git-send-email-jeremy@goop.org> References: <1241732737-7669-1-git-send-email-jeremy@goop.org> Return-path: In-Reply-To: <1241732737-7669-1-git-send-email-jeremy@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ingo Molnar Cc: Xen-devel , the arch/x86 maintainers , Linux Kernel Mailing List , Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org From: Jeremy Fitzhardinge Mostly whitespace cleanups; one .c extern moved into a header. Signed-off-by: Jeremy Fitzhardinge --- arch/x86/include/asm/io.h | 2 ++ arch/x86/pci/common.c | 2 +- arch/x86/pci/xen.c | 3 +-- include/xen/interface/memory.h | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index e5383e3..0bb9e13 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -7,6 +7,8 @@ #include #include +extern int isapnp_disable; + #define build_mmio_read(name, size, type, reg, barrier) \ static inline type name(const volatile void __iomem *addr) \ { type ret; asm volatile("mov" size " %1,%0":reg (ret) \ diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index 171accb..ccad323 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c @@ -22,7 +22,7 @@ unsigned int pci_probe = PCI_PROBE_BIOS | PCI_PROBE_CONF1 | PCI_PROBE_CONF2 | unsigned int pci_early_dump_regs; static int pci_bf_sort; int pci_routeirq; -int pci_scan_all_fns = 0; +int pci_scan_all_fns; int noioapicquirk; #ifdef CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS int noioapicreroute = 0; diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c index 76f803f..e134fb8 100644 --- a/arch/x86/pci/xen.c +++ b/arch/x86/pci/xen.c @@ -10,6 +10,7 @@ #include #include +#include #include @@ -18,8 +19,6 @@ static int xen_pcifront_enable_irq(struct pci_dev *dev) return 0; } -extern int isapnp_disable; - int __init pci_xen_init(void) { if (!xen_pv_domain() || xen_initial_domain()) diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h index 63abbb2..48fc968 100644 --- a/include/xen/interface/memory.h +++ b/include/xen/interface/memory.h @@ -229,8 +229,8 @@ DEFINE_GUEST_HANDLE_STRUCT(xen_memory_map); #define XENMEM_machine_memory_map 10 /* - * Prevent the balloon driver from changing the memory reservation during a driver - * critical region. + * Prevent the balloon driver from changing the memory reservation + * during a driver critical region. */ extern spinlock_t xen_reservation_lock; -- 1.6.0.6