lkml.org 
[lkml]   [2009]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 11/11] xen: checkpatch cleanups
Date
From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

Mostly whitespace cleanups; one .c extern moved into a header.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
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 <asm-generic/int-ll64.h>
#include <asm/page.h>

+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 <linux/acpi.h>

#include <asm/pci_x86.h>
+#include <asm/io.h>

#include <asm/xen/hypervisor.h>

@@ -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


\
 
 \ /
  Last update: 2009-05-08 02:29    [W:0.239 / U:3.576 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site