xen-devel
[Xen-devel] [PATCH 11/11] xen: checkpatch cleanups
From: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
Mostly whitespace cleanups; one .c extern moved into a header.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
---
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 05/11] x86/PCI: Clean up pci_cache_line_size, (continued)
- [Xen-devel] [PATCH 05/11] x86/PCI: Clean up pci_cache_line_size, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 04/11] xen: Add xen_create_contiguous_region, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 06/11] x86/PCI: Enable scanning of all pci functions, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 08/11] xen/swiotlb: use dma_alloc_from_coherent to get device coherent memory, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 09/11] x86/pci: make sure _PAGE_IOMAP it set on pci mappings, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 10/11] xen/pci: clean up Kconfig a bit, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 07/11] Xen/x86/PCI: Add support for the Xen PCI subsytem, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 01/11] xen: Don't disable the I/O space, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 11/11] xen: checkpatch cleanups,
Jeremy Fitzhardinge <=
- [Xen-devel] Re: [GIT PULL] xen: dom0 support for PCI access, Ingo Molnar
- [Xen-devel] Re: [GIT PULL] xen: dom0 support for PCI access, Yinghai Lu
- [Xen-devel] Re: [GIT PULL] xen: dom0 support for PCI access, Jeremy Fitzhardinge
- [Xen-devel] Re: [GIT PULL] xen: dom0 support for PCI access, Matthew Wilcox
|
|
|