diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-08-18 18:04:41 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-03-24 19:29:52 -0400 |
commit | 8ea3c06a2e4d9c6e63461dd56ea74a0a84275e14 (patch) | |
tree | b5f8e57151edcad5db5e81a7fcd0dcc6fed6d512 /arch/um | |
parent | 3ee6bd8e8dc0c58b9ba5bab7ef8a7a131da346eb (diff) |
um: clean up the includes in ubd
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/drivers/ubd.h (renamed from arch/um/drivers/ubd_user.h) | 0 | ||||
-rw-r--r-- | arch/um/drivers/ubd_kern.c | 44 | ||||
-rw-r--r-- | arch/um/drivers/ubd_user.c | 8 |
3 files changed, 18 insertions, 34 deletions
diff --git a/arch/um/drivers/ubd_user.h b/arch/um/drivers/ubd.h index 3845051f1b10..3845051f1b10 100644 --- a/arch/um/drivers/ubd_user.h +++ b/arch/um/drivers/ubd.h | |||
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index c884ebd07f86..20505cafa299 100644 --- a/arch/um/drivers/ubd_kern.c +++ b/arch/um/drivers/ubd_kern.c | |||
@@ -19,40 +19,26 @@ | |||
19 | 19 | ||
20 | #define UBD_SHIFT 4 | 20 | #define UBD_SHIFT 4 |
21 | 21 | ||
22 | #include "linux/kernel.h" | 22 | #include <linux/module.h> |
23 | #include "linux/module.h" | 23 | #include <linux/init.h> |
24 | #include "linux/blkdev.h" | 24 | #include <linux/blkdev.h> |
25 | #include "linux/ata.h" | 25 | #include <linux/ata.h> |
26 | #include "linux/hdreg.h" | 26 | #include <linux/hdreg.h> |
27 | #include "linux/init.h" | 27 | #include <linux/cdrom.h> |
28 | #include "linux/cdrom.h" | 28 | #include <linux/proc_fs.h> |
29 | #include "linux/proc_fs.h" | 29 | #include <linux/seq_file.h> |
30 | #include "linux/seq_file.h" | 30 | #include <linux/ctype.h> |
31 | #include "linux/ctype.h" | 31 | #include <linux/slab.h> |
32 | #include "linux/capability.h" | 32 | #include <linux/vmalloc.h> |
33 | #include "linux/mm.h" | 33 | #include <linux/platform_device.h> |
34 | #include "linux/slab.h" | 34 | #include <linux/scatterlist.h> |
35 | #include "linux/vmalloc.h" | 35 | #include <asm/tlbflush.h> |
36 | #include "linux/mutex.h" | ||
37 | #include "linux/blkpg.h" | ||
38 | #include "linux/genhd.h" | ||
39 | #include "linux/spinlock.h" | ||
40 | #include "linux/platform_device.h" | ||
41 | #include "linux/scatterlist.h" | ||
42 | #include "asm/segment.h" | ||
43 | #include "asm/uaccess.h" | ||
44 | #include "asm/irq.h" | ||
45 | #include "asm/types.h" | ||
46 | #include "asm/tlbflush.h" | ||
47 | #include "mem_user.h" | ||
48 | #include "kern_util.h" | 36 | #include "kern_util.h" |
49 | #include "mconsole_kern.h" | 37 | #include "mconsole_kern.h" |
50 | #include "init.h" | 38 | #include "init.h" |
51 | #include "irq_user.h" | ||
52 | #include "irq_kern.h" | 39 | #include "irq_kern.h" |
53 | #include "ubd_user.h" | 40 | #include "ubd.h" |
54 | #include "os.h" | 41 | #include "os.h" |
55 | #include "mem.h" | ||
56 | #include "cow.h" | 42 | #include "cow.h" |
57 | 43 | ||
58 | enum ubd_req { UBD_READ, UBD_WRITE }; | 44 | enum ubd_req { UBD_READ, UBD_WRITE }; |
diff --git a/arch/um/drivers/ubd_user.c b/arch/um/drivers/ubd_user.c index 007b94d97726..ffe02c431dea 100644 --- a/arch/um/drivers/ubd_user.c +++ b/arch/um/drivers/ubd_user.c | |||
@@ -15,14 +15,12 @@ | |||
15 | #include <sys/socket.h> | 15 | #include <sys/socket.h> |
16 | #include <sys/mman.h> | 16 | #include <sys/mman.h> |
17 | #include <sys/param.h> | 17 | #include <sys/param.h> |
18 | #include "asm/types.h" | ||
19 | #include "ubd_user.h" | ||
20 | #include "os.h" | ||
21 | #include "cow.h" | ||
22 | |||
23 | #include <endian.h> | 18 | #include <endian.h> |
24 | #include <byteswap.h> | 19 | #include <byteswap.h> |
25 | 20 | ||
21 | #include "ubd.h" | ||
22 | #include "os.h" | ||
23 | |||
26 | void ignore_sigwinch_sig(void) | 24 | void ignore_sigwinch_sig(void) |
27 | { | 25 | { |
28 | signal(SIGWINCH, SIG_IGN); | 26 | signal(SIGWINCH, SIG_IGN); |