[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] drivers/xen/: remove stray inclusion of various headers



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1327065192 -3600
# Node ID 712106b6b4d7cee855dcee46c34e9822da908a5f
# Parent  ee73c29182d54b739fc89d0cdceb2d6885422eb2
drivers/xen/: remove stray inclusion of various headers

More than once (perhaps through copy-and-paste) occurring were
- mman.h
- pagemap.h
- smp_lock.h
- vmalloc.h

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---


diff -r ee73c29182d5 -r 712106b6b4d7 drivers/xen/balloon/balloon.c
--- a/drivers/xen/balloon/balloon.c     Fri Jan 20 13:54:43 2012 +0100
+++ b/drivers/xen/balloon/balloon.c     Fri Jan 20 14:13:12 2012 +0100
@@ -36,13 +36,10 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/errno.h>
+#include <linux/list.h>
 #include <linux/mm.h>
-#include <linux/mman.h>
-#include <linux/smp_lock.h>
-#include <linux/pagemap.h>
 #include <linux/bootmem.h>
 #include <linux/highmem.h>
-#include <linux/vmalloc.h>
 #include <linux/mutex.h>
 #include <xen/xen_proc.h>
 #include <asm/hypervisor.h>
@@ -54,8 +51,6 @@
 #include <asm/pgtable.h>
 #include <asm/uaccess.h>
 #include <asm/tlb.h>
-#include <linux/highmem.h>
-#include <linux/list.h>
 #include <xen/xenbus.h>
 #include "common.h"
 
diff -r ee73c29182d5 -r 712106b6b4d7 drivers/xen/char/mem.c
--- a/drivers/xen/char/mem.c    Fri Jan 20 13:54:43 2012 +0100
+++ b/drivers/xen/char/mem.c    Fri Jan 20 14:13:12 2012 +0100
@@ -9,19 +9,10 @@
  */
 
 #include <linux/mm.h>
-#include <linux/miscdevice.h>
-#include <linux/slab.h>
-#include <linux/vmalloc.h>
-#include <linux/mman.h>
-#include <linux/random.h>
 #include <linux/init.h>
-#include <linux/raw.h>
-#include <linux/tty.h>
+#include <linux/fs.h>
 #include <linux/capability.h>
-#include <linux/smp_lock.h>
 #include <linux/ptrace.h>
-#include <linux/device.h>
-#include <asm/pgalloc.h>
 #include <asm/uaccess.h>
 #include <asm/io.h>
 #include <asm/hypervisor.h>
diff -r ee73c29182d5 -r 712106b6b4d7 drivers/xen/core/smpboot.c
--- a/drivers/xen/core/smpboot.c        Fri Jan 20 13:54:43 2012 +0100
+++ b/drivers/xen/core/smpboot.c        Fri Jan 20 14:13:12 2012 +0100
@@ -11,9 +11,7 @@
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <linux/kernel_stat.h>
-#include <linux/smp_lock.h>
 #include <linux/irq.h>
-#include <linux/bootmem.h>
 #include <linux/notifier.h>
 #include <linux/cpu.h>
 #include <linux/percpu.h>
diff -r ee73c29182d5 -r 712106b6b4d7 drivers/xen/gntdev/gntdev.c
--- a/drivers/xen/gntdev/gntdev.c       Fri Jan 20 13:54:43 2012 +0100
+++ b/drivers/xen/gntdev/gntdev.c       Fri Jan 20 14:13:12 2012 +0100
@@ -23,7 +23,6 @@
 #include <linux/fs.h>
 #include <linux/miscdevice.h>
 #include <linux/mm.h>
-#include <linux/mman.h>
 #include <asm/uaccess.h>
 #include <asm/io.h>
 #include <xen/gnttab.h>
diff -r ee73c29182d5 -r 712106b6b4d7 drivers/xen/pciback/xenbus.c
--- a/drivers/xen/pciback/xenbus.c      Fri Jan 20 13:54:43 2012 +0100
+++ b/drivers/xen/pciback/xenbus.c      Fri Jan 20 14:13:12 2012 +0100
@@ -6,7 +6,6 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/list.h>
-#include <linux/vmalloc.h>
 #include <xen/xenbus.h>
 #include <xen/evtchn.h>
 #include "pciback.h"
diff -r ee73c29182d5 -r 712106b6b4d7 drivers/xen/privcmd/privcmd.c
--- a/drivers/xen/privcmd/privcmd.c     Fri Jan 20 13:54:43 2012 +0100
+++ b/drivers/xen/privcmd/privcmd.c     Fri Jan 20 14:13:12 2012 +0100
@@ -12,12 +12,6 @@
 #include <linux/string.h>
 #include <linux/errno.h>
 #include <linux/mm.h>
-#include <linux/mman.h>
-#include <linux/swap.h>
-#include <linux/smp_lock.h>
-#include <linux/highmem.h>
-#include <linux/pagemap.h>
-#include <linux/seq_file.h>
 #include <asm/hypervisor.h>
 
 #include <asm/pgalloc.h>
diff -r ee73c29182d5 -r 712106b6b4d7 drivers/xen/scsiback/common.h
--- a/drivers/xen/scsiback/common.h     Fri Jan 20 13:54:43 2012 +0100
+++ b/drivers/xen/scsiback/common.h     Fri Jan 20 14:13:12 2012 +0100
@@ -34,7 +34,6 @@
 #include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/slab.h>
-#include <linux/vmalloc.h>
 #include <linux/wait.h>
 #include <linux/sched.h>
 #include <linux/kthread.h>
diff -r ee73c29182d5 -r 712106b6b4d7 drivers/xen/usbback/usbback.h
--- a/drivers/xen/usbback/usbback.h     Fri Jan 20 13:54:43 2012 +0100
+++ b/drivers/xen/usbback/usbback.h     Fri Jan 20 14:13:12 2012 +0100
@@ -50,7 +50,6 @@
 #include <linux/interrupt.h>
 #include <linux/slab.h>
 #include <linux/usb.h>
-#include <linux/vmalloc.h>
 #include <linux/kthread.h>
 #include <linux/wait.h>
 #include <linux/list.h>

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.