[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] linux-2.6.18/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> --- a/drivers/xen/balloon/balloon.c +++ b/drivers/xen/balloon/balloon.c @@ -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 +50,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" --- a/drivers/xen/char/mem.c +++ b/drivers/xen/char/mem.c @@ -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> --- a/drivers/xen/core/smpboot.c +++ b/drivers/xen/core/smpboot.c @@ -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> --- a/drivers/xen/gntdev/gntdev.c +++ b/drivers/xen/gntdev/gntdev.c @@ -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> --- a/drivers/xen/pciback/xenbus.c +++ b/drivers/xen/pciback/xenbus.c @@ -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" --- a/drivers/xen/privcmd/privcmd.c +++ b/drivers/xen/privcmd/privcmd.c @@ -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> --- a/drivers/xen/scsiback/common.h +++ b/drivers/xen/scsiback/common.h @@ -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> --- a/drivers/xen/usbback/usbback.h +++ b/drivers/xen/usbback/usbback.h @@ -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> Attachment:
xen-no-mman-h.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |