diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 22:15:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-09 22:15:20 -0400 |
commit | f59b51fe3d3092c08d7d554ecb40db24011b2ebc (patch) | |
tree | f19a5cb72adda3963f83609dbe2314620a4cf63e /arch/um/drivers | |
parent | aac2b1f5747ea34696d0da5bdc4d8247aa6437af (diff) | |
parent | 062d52672446014222942cae6934d97769b329f0 (diff) |
Merge branch 'for-linus-37rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Pull UML changes from Richard Weinberger:
"UML receives this time only cleanups.
The most outstanding change is the 'include "foo.h"' do 'include
<foo.h>' conversion done by Al Viro.
It touches many files, that's why the diffstat is rather big."
* 'for-linus-37rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
typo in UserModeLinux-HOWTO
hppfs: fix the return value of get_inode()
hostfs: drop vmtruncate
um: get rid of pointless include "..." where include <...> will do
um: move sysrq.h out of include/shared
um/x86: merge 32 and 64 bit variants of ptrace.h
um/x86: merge 32 and 64bit variants of checksum.h
Diffstat (limited to 'arch/um/drivers')
43 files changed, 138 insertions, 138 deletions
diff --git a/arch/um/drivers/chan_kern.c b/arch/um/drivers/chan_kern.c index 87eebfe03c61..c3bba73e4be6 100644 --- a/arch/um/drivers/chan_kern.c +++ b/arch/um/drivers/chan_kern.c | |||
@@ -7,8 +7,8 @@ | |||
7 | #include <linux/tty.h> | 7 | #include <linux/tty.h> |
8 | #include <linux/tty_flip.h> | 8 | #include <linux/tty_flip.h> |
9 | #include "chan.h" | 9 | #include "chan.h" |
10 | #include "os.h" | 10 | #include <os.h> |
11 | #include "irq_kern.h" | 11 | #include <irq_kern.h> |
12 | 12 | ||
13 | #ifdef CONFIG_NOCONFIG_CHAN | 13 | #ifdef CONFIG_NOCONFIG_CHAN |
14 | static void *not_configged_init(char *str, int device, | 14 | static void *not_configged_init(char *str, int device, |
diff --git a/arch/um/drivers/chan_user.c b/arch/um/drivers/chan_user.c index f180813ce2c7..9be670ad23b5 100644 --- a/arch/um/drivers/chan_user.c +++ b/arch/um/drivers/chan_user.c | |||
@@ -11,8 +11,8 @@ | |||
11 | #include <termios.h> | 11 | #include <termios.h> |
12 | #include <sys/ioctl.h> | 12 | #include <sys/ioctl.h> |
13 | #include "chan_user.h" | 13 | #include "chan_user.h" |
14 | #include "os.h" | 14 | #include <os.h> |
15 | #include "um_malloc.h" | 15 | #include <um_malloc.h> |
16 | 16 | ||
17 | void generic_close(int fd, void *unused) | 17 | void generic_close(int fd, void *unused) |
18 | { | 18 | { |
diff --git a/arch/um/drivers/chan_user.h b/arch/um/drivers/chan_user.h index 6257b7a6e1af..dc693298eb8f 100644 --- a/arch/um/drivers/chan_user.h +++ b/arch/um/drivers/chan_user.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef __CHAN_USER_H__ | 6 | #ifndef __CHAN_USER_H__ |
7 | #define __CHAN_USER_H__ | 7 | #define __CHAN_USER_H__ |
8 | 8 | ||
9 | #include "init.h" | 9 | #include <init.h> |
10 | 10 | ||
11 | struct chan_opts { | 11 | struct chan_opts { |
12 | void (*const announce)(char *dev_name, int dev); | 12 | void (*const announce)(char *dev_name, int dev); |
diff --git a/arch/um/drivers/cow_sys.h b/arch/um/drivers/cow_sys.h index 7f2ed0b8824a..67cbee63e702 100644 --- a/arch/um/drivers/cow_sys.h +++ b/arch/um/drivers/cow_sys.h | |||
@@ -1,9 +1,9 @@ | |||
1 | #ifndef __COW_SYS_H__ | 1 | #ifndef __COW_SYS_H__ |
2 | #define __COW_SYS_H__ | 2 | #define __COW_SYS_H__ |
3 | 3 | ||
4 | #include "kern_util.h" | 4 | #include <kern_util.h> |
5 | #include "os.h" | 5 | #include <os.h> |
6 | #include "um_malloc.h" | 6 | #include <um_malloc.h> |
7 | 7 | ||
8 | static inline void *cow_malloc(int size) | 8 | static inline void *cow_malloc(int size) |
9 | { | 9 | { |
diff --git a/arch/um/drivers/daemon.h b/arch/um/drivers/daemon.h index 6e0e891f8a00..c2dd1951559f 100644 --- a/arch/um/drivers/daemon.h +++ b/arch/um/drivers/daemon.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef __DAEMON_H__ | 6 | #ifndef __DAEMON_H__ |
7 | #define __DAEMON_H__ | 7 | #define __DAEMON_H__ |
8 | 8 | ||
9 | #include "net_user.h" | 9 | #include <net_user.h> |
10 | 10 | ||
11 | #define SWITCH_VERSION 3 | 11 | #define SWITCH_VERSION 3 |
12 | 12 | ||
diff --git a/arch/um/drivers/daemon_kern.c b/arch/um/drivers/daemon_kern.c index b4a1522f2157..7568cc2f3cd6 100644 --- a/arch/um/drivers/daemon_kern.c +++ b/arch/um/drivers/daemon_kern.c | |||
@@ -6,9 +6,9 @@ | |||
6 | * Licensed under the GPL. | 6 | * Licensed under the GPL. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "linux/init.h" | 9 | #include <linux/init.h> |
10 | #include <linux/netdevice.h> | 10 | #include <linux/netdevice.h> |
11 | #include "net_kern.h" | 11 | #include <net_kern.h> |
12 | #include "daemon.h" | 12 | #include "daemon.h" |
13 | 13 | ||
14 | struct daemon_init { | 14 | struct daemon_init { |
diff --git a/arch/um/drivers/daemon_user.c b/arch/um/drivers/daemon_user.c index a4fd7bc14af7..8813c10d0177 100644 --- a/arch/um/drivers/daemon_user.c +++ b/arch/um/drivers/daemon_user.c | |||
@@ -14,9 +14,9 @@ | |||
14 | #include <sys/time.h> | 14 | #include <sys/time.h> |
15 | #include <sys/un.h> | 15 | #include <sys/un.h> |
16 | #include "daemon.h" | 16 | #include "daemon.h" |
17 | #include "net_user.h" | 17 | #include <net_user.h> |
18 | #include "os.h" | 18 | #include <os.h> |
19 | #include "um_malloc.h" | 19 | #include <um_malloc.h> |
20 | 20 | ||
21 | enum request_type { REQ_NEW_CONTROL }; | 21 | enum request_type { REQ_NEW_CONTROL }; |
22 | 22 | ||
diff --git a/arch/um/drivers/fd.c b/arch/um/drivers/fd.c index 5b81d2574415..a13a427b996b 100644 --- a/arch/um/drivers/fd.c +++ b/arch/um/drivers/fd.c | |||
@@ -9,8 +9,8 @@ | |||
9 | #include <errno.h> | 9 | #include <errno.h> |
10 | #include <termios.h> | 10 | #include <termios.h> |
11 | #include "chan_user.h" | 11 | #include "chan_user.h" |
12 | #include "os.h" | 12 | #include <os.h> |
13 | #include "um_malloc.h" | 13 | #include <um_malloc.h> |
14 | 14 | ||
15 | struct fd_chan { | 15 | struct fd_chan { |
16 | int fd; | 16 | int fd; |
diff --git a/arch/um/drivers/harddog_user.c b/arch/um/drivers/harddog_user.c index 0345d6206d40..f99b32a4dbff 100644 --- a/arch/um/drivers/harddog_user.c +++ b/arch/um/drivers/harddog_user.c | |||
@@ -6,7 +6,7 @@ | |||
6 | #include <stdio.h> | 6 | #include <stdio.h> |
7 | #include <unistd.h> | 7 | #include <unistd.h> |
8 | #include <errno.h> | 8 | #include <errno.h> |
9 | #include "os.h" | 9 | #include <os.h> |
10 | 10 | ||
11 | struct dog_data { | 11 | struct dog_data { |
12 | int stdin; | 12 | int stdin; |
diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_kern.c index f9f6a4e20590..9b90fdc4b151 100644 --- a/arch/um/drivers/hostaudio_kern.c +++ b/arch/um/drivers/hostaudio_kern.c | |||
@@ -3,15 +3,15 @@ | |||
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "linux/fs.h" | 6 | #include <linux/fs.h> |
7 | #include "linux/module.h" | 7 | #include <linux/module.h> |
8 | #include "linux/slab.h" | 8 | #include <linux/slab.h> |
9 | #include "linux/sound.h" | 9 | #include <linux/sound.h> |
10 | #include "linux/soundcard.h" | 10 | #include <linux/soundcard.h> |
11 | #include "linux/mutex.h" | 11 | #include <linux/mutex.h> |
12 | #include "asm/uaccess.h" | 12 | #include <asm/uaccess.h> |
13 | #include "init.h" | 13 | #include <init.h> |
14 | #include "os.h" | 14 | #include <os.h> |
15 | 15 | ||
16 | struct hostaudio_state { | 16 | struct hostaudio_state { |
17 | int fd; | 17 | int fd; |
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index 457475f98414..fd9a15b318af 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -3,15 +3,15 @@ | |||
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "linux/irqreturn.h" | 6 | #include <linux/irqreturn.h> |
7 | #include "linux/kd.h" | 7 | #include <linux/kd.h> |
8 | #include "linux/sched.h" | 8 | #include <linux/sched.h> |
9 | #include "linux/slab.h" | 9 | #include <linux/slab.h> |
10 | #include "chan.h" | 10 | #include "chan.h" |
11 | #include "irq_kern.h" | 11 | #include <irq_kern.h> |
12 | #include "irq_user.h" | 12 | #include <irq_user.h> |
13 | #include "kern_util.h" | 13 | #include <kern_util.h> |
14 | #include "os.h" | 14 | #include <os.h> |
15 | 15 | ||
16 | #define LINE_BUFSIZE 4096 | 16 | #define LINE_BUFSIZE 4096 |
17 | 17 | ||
diff --git a/arch/um/drivers/line.h b/arch/um/drivers/line.h index bae95611e7ab..138a14526d9c 100644 --- a/arch/um/drivers/line.h +++ b/arch/um/drivers/line.h | |||
@@ -6,12 +6,12 @@ | |||
6 | #ifndef __LINE_H__ | 6 | #ifndef __LINE_H__ |
7 | #define __LINE_H__ | 7 | #define __LINE_H__ |
8 | 8 | ||
9 | #include "linux/list.h" | 9 | #include <linux/list.h> |
10 | #include "linux/workqueue.h" | 10 | #include <linux/workqueue.h> |
11 | #include "linux/tty.h" | 11 | #include <linux/tty.h> |
12 | #include "linux/interrupt.h" | 12 | #include <linux/interrupt.h> |
13 | #include "linux/spinlock.h" | 13 | #include <linux/spinlock.h> |
14 | #include "linux/mutex.h" | 14 | #include <linux/mutex.h> |
15 | #include "chan_user.h" | 15 | #include "chan_user.h" |
16 | #include "mconsole_kern.h" | 16 | #include "mconsole_kern.h" |
17 | 17 | ||
diff --git a/arch/um/drivers/mconsole.h b/arch/um/drivers/mconsole.h index c139ae1d6826..8b22535c62ce 100644 --- a/arch/um/drivers/mconsole.h +++ b/arch/um/drivers/mconsole.h | |||
@@ -12,7 +12,7 @@ | |||
12 | #define u32 uint32_t | 12 | #define u32 uint32_t |
13 | #endif | 13 | #endif |
14 | 14 | ||
15 | #include "sysdep/ptrace.h" | 15 | #include <sysdep/ptrace.h> |
16 | 16 | ||
17 | #define MCONSOLE_MAGIC (0xcafebabe) | 17 | #define MCONSOLE_MAGIC (0xcafebabe) |
18 | #define MCONSOLE_MAX_DATA (512) | 18 | #define MCONSOLE_MAX_DATA (512) |
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 9efeb6da48bc..79ccfe6c7078 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c | |||
@@ -27,13 +27,13 @@ | |||
27 | #include <asm/uaccess.h> | 27 | #include <asm/uaccess.h> |
28 | #include <asm/switch_to.h> | 28 | #include <asm/switch_to.h> |
29 | 29 | ||
30 | #include "init.h" | 30 | #include <init.h> |
31 | #include "irq_kern.h" | 31 | #include <irq_kern.h> |
32 | #include "irq_user.h" | 32 | #include <irq_user.h> |
33 | #include "kern_util.h" | 33 | #include <kern_util.h> |
34 | #include "mconsole.h" | 34 | #include "mconsole.h" |
35 | #include "mconsole_kern.h" | 35 | #include "mconsole_kern.h" |
36 | #include "os.h" | 36 | #include <os.h> |
37 | 37 | ||
38 | static int do_unlink_socket(struct notifier_block *notifier, | 38 | static int do_unlink_socket(struct notifier_block *notifier, |
39 | unsigned long what, void *data) | 39 | unsigned long what, void *data) |
diff --git a/arch/um/drivers/mconsole_kern.h b/arch/um/drivers/mconsole_kern.h index d2fe07e78958..7a0c6a1ad1d4 100644 --- a/arch/um/drivers/mconsole_kern.h +++ b/arch/um/drivers/mconsole_kern.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef __MCONSOLE_KERN_H__ | 6 | #ifndef __MCONSOLE_KERN_H__ |
7 | #define __MCONSOLE_KERN_H__ | 7 | #define __MCONSOLE_KERN_H__ |
8 | 8 | ||
9 | #include "linux/list.h" | 9 | #include <linux/list.h> |
10 | #include "mconsole.h" | 10 | #include "mconsole.h" |
11 | 11 | ||
12 | struct mconsole_entry { | 12 | struct mconsole_entry { |
diff --git a/arch/um/drivers/mmapper_kern.c b/arch/um/drivers/mmapper_kern.c index c0ef803c7c70..62145c276167 100644 --- a/arch/um/drivers/mmapper_kern.c +++ b/arch/um/drivers/mmapper_kern.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | 19 | ||
20 | #include <asm/uaccess.h> | 20 | #include <asm/uaccess.h> |
21 | #include "mem_user.h" | 21 | #include <mem_user.h> |
22 | 22 | ||
23 | /* These are set in mmapper_init, which is called at boot time */ | 23 | /* These are set in mmapper_init, which is called at boot time */ |
24 | static unsigned long mmapper_size; | 24 | static unsigned long mmapper_size; |
diff --git a/arch/um/drivers/net_kern.c b/arch/um/drivers/net_kern.c index 458d324f062d..b1314ebf1f72 100644 --- a/arch/um/drivers/net_kern.c +++ b/arch/um/drivers/net_kern.c | |||
@@ -18,12 +18,12 @@ | |||
18 | #include <linux/skbuff.h> | 18 | #include <linux/skbuff.h> |
19 | #include <linux/slab.h> | 19 | #include <linux/slab.h> |
20 | #include <linux/spinlock.h> | 20 | #include <linux/spinlock.h> |
21 | #include "init.h" | 21 | #include <init.h> |
22 | #include "irq_kern.h" | 22 | #include <irq_kern.h> |
23 | #include "irq_user.h" | 23 | #include <irq_user.h> |
24 | #include "mconsole_kern.h" | 24 | #include "mconsole_kern.h" |
25 | #include "net_kern.h" | 25 | #include <net_kern.h> |
26 | #include "net_user.h" | 26 | #include <net_user.h> |
27 | 27 | ||
28 | #define DRIVER_NAME "uml-netdev" | 28 | #define DRIVER_NAME "uml-netdev" |
29 | 29 | ||
diff --git a/arch/um/drivers/net_user.c b/arch/um/drivers/net_user.c index 05090c37fa84..cd14157b556d 100644 --- a/arch/um/drivers/net_user.c +++ b/arch/um/drivers/net_user.c | |||
@@ -11,9 +11,9 @@ | |||
11 | #include <string.h> | 11 | #include <string.h> |
12 | #include <sys/socket.h> | 12 | #include <sys/socket.h> |
13 | #include <sys/wait.h> | 13 | #include <sys/wait.h> |
14 | #include "net_user.h" | 14 | #include <net_user.h> |
15 | #include "os.h" | 15 | #include <os.h> |
16 | #include "um_malloc.h" | 16 | #include <um_malloc.h> |
17 | 17 | ||
18 | int tap_open_common(void *dev, char *gate_addr) | 18 | int tap_open_common(void *dev, char *gate_addr) |
19 | { | 19 | { |
diff --git a/arch/um/drivers/null.c b/arch/um/drivers/null.c index 2b45a1446c86..10495747ce8e 100644 --- a/arch/um/drivers/null.c +++ b/arch/um/drivers/null.c | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <errno.h> | 7 | #include <errno.h> |
8 | #include <fcntl.h> | 8 | #include <fcntl.h> |
9 | #include "chan_user.h" | 9 | #include "chan_user.h" |
10 | #include "os.h" | 10 | #include <os.h> |
11 | 11 | ||
12 | /* This address is used only as a unique identifier */ | 12 | /* This address is used only as a unique identifier */ |
13 | static int null_chan; | 13 | static int null_chan; |
diff --git a/arch/um/drivers/pcap_kern.c b/arch/um/drivers/pcap_kern.c index 2860525f8ff6..be0fb57bd1d7 100644 --- a/arch/um/drivers/pcap_kern.c +++ b/arch/um/drivers/pcap_kern.c | |||
@@ -3,9 +3,9 @@ | |||
3 | * Licensed under the GPL. | 3 | * Licensed under the GPL. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "linux/init.h" | 6 | #include <linux/init.h> |
7 | #include <linux/netdevice.h> | 7 | #include <linux/netdevice.h> |
8 | #include "net_kern.h" | 8 | #include <net_kern.h> |
9 | #include "pcap_user.h" | 9 | #include "pcap_user.h" |
10 | 10 | ||
11 | struct pcap_init { | 11 | struct pcap_init { |
diff --git a/arch/um/drivers/pcap_user.c b/arch/um/drivers/pcap_user.c index 702a75b190ee..c07b9c752c86 100644 --- a/arch/um/drivers/pcap_user.c +++ b/arch/um/drivers/pcap_user.c | |||
@@ -7,9 +7,9 @@ | |||
7 | #include <pcap.h> | 7 | #include <pcap.h> |
8 | #include <string.h> | 8 | #include <string.h> |
9 | #include <asm/types.h> | 9 | #include <asm/types.h> |
10 | #include "net_user.h" | 10 | #include <net_user.h> |
11 | #include "pcap_user.h" | 11 | #include "pcap_user.h" |
12 | #include "um_malloc.h" | 12 | #include <um_malloc.h> |
13 | 13 | ||
14 | #define PCAP_FD(p) (*(int *)(p)) | 14 | #define PCAP_FD(p) (*(int *)(p)) |
15 | 15 | ||
diff --git a/arch/um/drivers/pcap_user.h b/arch/um/drivers/pcap_user.h index d8ba6153f912..1ca7c764cc63 100644 --- a/arch/um/drivers/pcap_user.h +++ b/arch/um/drivers/pcap_user.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "net_user.h" | 6 | #include <net_user.h> |
7 | 7 | ||
8 | struct pcap_data { | 8 | struct pcap_data { |
9 | char *host_if; | 9 | char *host_if; |
diff --git a/arch/um/drivers/port_kern.c b/arch/um/drivers/port_kern.c index 1d83d50236e1..40ca5cc275e9 100644 --- a/arch/um/drivers/port_kern.c +++ b/arch/um/drivers/port_kern.c | |||
@@ -3,16 +3,16 @@ | |||
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "linux/completion.h" | 6 | #include <linux/completion.h> |
7 | #include "linux/interrupt.h" | 7 | #include <linux/interrupt.h> |
8 | #include "linux/list.h" | 8 | #include <linux/list.h> |
9 | #include "linux/mutex.h" | 9 | #include <linux/mutex.h> |
10 | #include "linux/slab.h" | 10 | #include <linux/slab.h> |
11 | #include "linux/workqueue.h" | 11 | #include <linux/workqueue.h> |
12 | #include "asm/atomic.h" | 12 | #include <asm/atomic.h> |
13 | #include "init.h" | 13 | #include <init.h> |
14 | #include "irq_kern.h" | 14 | #include <irq_kern.h> |
15 | #include "os.h" | 15 | #include <os.h> |
16 | #include "port.h" | 16 | #include "port.h" |
17 | 17 | ||
18 | struct port_list { | 18 | struct port_list { |
diff --git a/arch/um/drivers/port_user.c b/arch/um/drivers/port_user.c index 7b010b76ddf0..9a8e1b64c22e 100644 --- a/arch/um/drivers/port_user.c +++ b/arch/um/drivers/port_user.c | |||
@@ -10,9 +10,9 @@ | |||
10 | #include <unistd.h> | 10 | #include <unistd.h> |
11 | #include <netinet/in.h> | 11 | #include <netinet/in.h> |
12 | #include "chan_user.h" | 12 | #include "chan_user.h" |
13 | #include "os.h" | 13 | #include <os.h> |
14 | #include "port.h" | 14 | #include "port.h" |
15 | #include "um_malloc.h" | 15 | #include <um_malloc.h> |
16 | 16 | ||
17 | struct port_chan { | 17 | struct port_chan { |
18 | int raw; | 18 | int raw; |
diff --git a/arch/um/drivers/pty.c b/arch/um/drivers/pty.c index cff2b75d31fd..f1fcc2cedb5e 100644 --- a/arch/um/drivers/pty.c +++ b/arch/um/drivers/pty.c | |||
@@ -12,8 +12,8 @@ | |||
12 | #include <termios.h> | 12 | #include <termios.h> |
13 | #include <sys/stat.h> | 13 | #include <sys/stat.h> |
14 | #include "chan_user.h" | 14 | #include "chan_user.h" |
15 | #include "os.h" | 15 | #include <os.h> |
16 | #include "um_malloc.h" | 16 | #include <um_malloc.h> |
17 | 17 | ||
18 | struct pty_chan { | 18 | struct pty_chan { |
19 | void (*announce)(char *dev_name, int dev); | 19 | void (*announce)(char *dev_name, int dev); |
diff --git a/arch/um/drivers/random.c b/arch/um/drivers/random.c index e32c6aa6396f..9e3a72205827 100644 --- a/arch/um/drivers/random.c +++ b/arch/um/drivers/random.c | |||
@@ -13,8 +13,8 @@ | |||
13 | #include <linux/miscdevice.h> | 13 | #include <linux/miscdevice.h> |
14 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
15 | #include <asm/uaccess.h> | 15 | #include <asm/uaccess.h> |
16 | #include "irq_kern.h" | 16 | #include <irq_kern.h> |
17 | #include "os.h" | 17 | #include <os.h> |
18 | 18 | ||
19 | /* | 19 | /* |
20 | * core module and version information | 20 | * core module and version information |
diff --git a/arch/um/drivers/slip_common.c b/arch/um/drivers/slip_common.c index e89cfc68fc3e..f597fa7c91d3 100644 --- a/arch/um/drivers/slip_common.c +++ b/arch/um/drivers/slip_common.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <string.h> | 1 | #include <string.h> |
2 | #include "slip_common.h" | 2 | #include "slip_common.h" |
3 | #include "net_user.h" | 3 | #include <net_user.h> |
4 | 4 | ||
5 | int slip_proto_read(int fd, void *buf, int len, struct slip_proto *slip) | 5 | int slip_proto_read(int fd, void *buf, int len, struct slip_proto *slip) |
6 | { | 6 | { |
diff --git a/arch/um/drivers/slip_kern.c b/arch/um/drivers/slip_kern.c index dd2aadc14af0..ed5249fc0574 100644 --- a/arch/um/drivers/slip_kern.c +++ b/arch/um/drivers/slip_kern.c | |||
@@ -6,7 +6,7 @@ | |||
6 | #include <linux/if_arp.h> | 6 | #include <linux/if_arp.h> |
7 | #include <linux/init.h> | 7 | #include <linux/init.h> |
8 | #include <linux/netdevice.h> | 8 | #include <linux/netdevice.h> |
9 | #include "net_kern.h" | 9 | #include <net_kern.h> |
10 | #include "slip.h" | 10 | #include "slip.h" |
11 | 11 | ||
12 | struct slip_init { | 12 | struct slip_init { |
diff --git a/arch/um/drivers/slip_user.c b/arch/um/drivers/slip_user.c index 932b4d69bec2..55c290d925f3 100644 --- a/arch/um/drivers/slip_user.c +++ b/arch/um/drivers/slip_user.c | |||
@@ -11,10 +11,10 @@ | |||
11 | #include <string.h> | 11 | #include <string.h> |
12 | #include <sys/termios.h> | 12 | #include <sys/termios.h> |
13 | #include <sys/wait.h> | 13 | #include <sys/wait.h> |
14 | #include "net_user.h" | 14 | #include <net_user.h> |
15 | #include "os.h" | 15 | #include <os.h> |
16 | #include "slip.h" | 16 | #include "slip.h" |
17 | #include "um_malloc.h" | 17 | #include <um_malloc.h> |
18 | 18 | ||
19 | static int slip_user_init(void *data, void *dev) | 19 | static int slip_user_init(void *data, void *dev) |
20 | { | 20 | { |
diff --git a/arch/um/drivers/slirp_kern.c b/arch/um/drivers/slirp_kern.c index e376284f0fb7..4ef11ca7cacf 100644 --- a/arch/um/drivers/slirp_kern.c +++ b/arch/um/drivers/slirp_kern.c | |||
@@ -4,11 +4,11 @@ | |||
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <linux/if_arp.h> | 6 | #include <linux/if_arp.h> |
7 | #include "linux/init.h" | 7 | #include <linux/init.h> |
8 | #include <linux/netdevice.h> | 8 | #include <linux/netdevice.h> |
9 | #include <linux/string.h> | 9 | #include <linux/string.h> |
10 | #include "net_kern.h" | 10 | #include <net_kern.h> |
11 | #include "net_user.h" | 11 | #include <net_user.h> |
12 | #include "slirp.h" | 12 | #include "slirp.h" |
13 | 13 | ||
14 | struct slirp_init { | 14 | struct slirp_init { |
diff --git a/arch/um/drivers/slirp_user.c b/arch/um/drivers/slirp_user.c index db4adb639ff8..c999d187abb9 100644 --- a/arch/um/drivers/slirp_user.c +++ b/arch/um/drivers/slirp_user.c | |||
@@ -7,8 +7,8 @@ | |||
7 | #include <errno.h> | 7 | #include <errno.h> |
8 | #include <string.h> | 8 | #include <string.h> |
9 | #include <sys/wait.h> | 9 | #include <sys/wait.h> |
10 | #include "net_user.h" | 10 | #include <net_user.h> |
11 | #include "os.h" | 11 | #include <os.h> |
12 | #include "slirp.h" | 12 | #include "slirp.h" |
13 | 13 | ||
14 | static int slirp_user_init(void *data, void *dev) | 14 | static int slirp_user_init(void *data, void *dev) |
diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c index 7e86f0070123..16fdd0a0f9d6 100644 --- a/arch/um/drivers/ssl.c +++ b/arch/um/drivers/ssl.c | |||
@@ -3,19 +3,19 @@ | |||
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "linux/fs.h" | 6 | #include <linux/fs.h> |
7 | #include "linux/tty.h" | 7 | #include <linux/tty.h> |
8 | #include "linux/tty_driver.h" | 8 | #include <linux/tty_driver.h> |
9 | #include "linux/major.h" | 9 | #include <linux/major.h> |
10 | #include "linux/mm.h" | 10 | #include <linux/mm.h> |
11 | #include "linux/init.h" | 11 | #include <linux/init.h> |
12 | #include "linux/console.h" | 12 | #include <linux/console.h> |
13 | #include "asm/termbits.h" | 13 | #include <asm/termbits.h> |
14 | #include "asm/irq.h" | 14 | #include <asm/irq.h> |
15 | #include "ssl.h" | 15 | #include "ssl.h" |
16 | #include "chan.h" | 16 | #include "chan.h" |
17 | #include "init.h" | 17 | #include <init.h> |
18 | #include "irq_user.h" | 18 | #include <irq_user.h> |
19 | #include "mconsole_kern.h" | 19 | #include "mconsole_kern.h" |
20 | 20 | ||
21 | static const int ssl_version = 1; | 21 | static const int ssl_version = 1; |
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c index 929b99a261f3..827777af3f6d 100644 --- a/arch/um/drivers/stdio_console.c +++ b/arch/um/drivers/stdio_console.c | |||
@@ -3,27 +3,27 @@ | |||
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "linux/posix_types.h" | 6 | #include <linux/posix_types.h> |
7 | #include "linux/tty.h" | 7 | #include <linux/tty.h> |
8 | #include "linux/tty_flip.h" | 8 | #include <linux/tty_flip.h> |
9 | #include "linux/types.h" | 9 | #include <linux/types.h> |
10 | #include "linux/major.h" | 10 | #include <linux/major.h> |
11 | #include "linux/kdev_t.h" | 11 | #include <linux/kdev_t.h> |
12 | #include "linux/console.h" | 12 | #include <linux/console.h> |
13 | #include "linux/string.h" | 13 | #include <linux/string.h> |
14 | #include "linux/sched.h" | 14 | #include <linux/sched.h> |
15 | #include "linux/list.h" | 15 | #include <linux/list.h> |
16 | #include "linux/init.h" | 16 | #include <linux/init.h> |
17 | #include "linux/interrupt.h" | 17 | #include <linux/interrupt.h> |
18 | #include "linux/slab.h" | 18 | #include <linux/slab.h> |
19 | #include "linux/hardirq.h" | 19 | #include <linux/hardirq.h> |
20 | #include "asm/current.h" | 20 | #include <asm/current.h> |
21 | #include "asm/irq.h" | 21 | #include <asm/irq.h> |
22 | #include "stdio_console.h" | 22 | #include "stdio_console.h" |
23 | #include "chan.h" | 23 | #include "chan.h" |
24 | #include "irq_user.h" | 24 | #include <irq_user.h> |
25 | #include "mconsole_kern.h" | 25 | #include "mconsole_kern.h" |
26 | #include "init.h" | 26 | #include <init.h> |
27 | 27 | ||
28 | #define MAX_TTYS (16) | 28 | #define MAX_TTYS (16) |
29 | 29 | ||
diff --git a/arch/um/drivers/tty.c b/arch/um/drivers/tty.c index a97391f9ec54..eaa201bca5ed 100644 --- a/arch/um/drivers/tty.c +++ b/arch/um/drivers/tty.c | |||
@@ -7,8 +7,8 @@ | |||
7 | #include <fcntl.h> | 7 | #include <fcntl.h> |
8 | #include <termios.h> | 8 | #include <termios.h> |
9 | #include "chan_user.h" | 9 | #include "chan_user.h" |
10 | #include "os.h" | 10 | #include <os.h> |
11 | #include "um_malloc.h" | 11 | #include <um_malloc.h> |
12 | 12 | ||
13 | struct tty_chan { | 13 | struct tty_chan { |
14 | char *dev; | 14 | char *dev; |
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 0643e5bc9f41..41bf72073ccc 100644 --- a/arch/um/drivers/ubd_kern.c +++ b/arch/um/drivers/ubd_kern.c | |||
@@ -33,12 +33,12 @@ | |||
33 | #include <linux/platform_device.h> | 33 | #include <linux/platform_device.h> |
34 | #include <linux/scatterlist.h> | 34 | #include <linux/scatterlist.h> |
35 | #include <asm/tlbflush.h> | 35 | #include <asm/tlbflush.h> |
36 | #include "kern_util.h" | 36 | #include <kern_util.h> |
37 | #include "mconsole_kern.h" | 37 | #include "mconsole_kern.h" |
38 | #include "init.h" | 38 | #include <init.h> |
39 | #include "irq_kern.h" | 39 | #include <irq_kern.h> |
40 | #include "ubd.h" | 40 | #include "ubd.h" |
41 | #include "os.h" | 41 | #include <os.h> |
42 | #include "cow.h" | 42 | #include "cow.h" |
43 | 43 | ||
44 | 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 ffe02c431dea..a703e45d8aac 100644 --- a/arch/um/drivers/ubd_user.c +++ b/arch/um/drivers/ubd_user.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <byteswap.h> | 19 | #include <byteswap.h> |
20 | 20 | ||
21 | #include "ubd.h" | 21 | #include "ubd.h" |
22 | #include "os.h" | 22 | #include <os.h> |
23 | 23 | ||
24 | void ignore_sigwinch_sig(void) | 24 | void ignore_sigwinch_sig(void) |
25 | { | 25 | { |
diff --git a/arch/um/drivers/umcast.h b/arch/um/drivers/umcast.h index 6f8c0fe890fb..c190c6440911 100644 --- a/arch/um/drivers/umcast.h +++ b/arch/um/drivers/umcast.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef __DRIVERS_UMCAST_H | 6 | #ifndef __DRIVERS_UMCAST_H |
7 | #define __DRIVERS_UMCAST_H | 7 | #define __DRIVERS_UMCAST_H |
8 | 8 | ||
9 | #include "net_user.h" | 9 | #include <net_user.h> |
10 | 10 | ||
11 | struct umcast_data { | 11 | struct umcast_data { |
12 | char *addr; | 12 | char *addr; |
diff --git a/arch/um/drivers/umcast_kern.c b/arch/um/drivers/umcast_kern.c index 42dab11d2ecf..f5ba6e377913 100644 --- a/arch/um/drivers/umcast_kern.c +++ b/arch/um/drivers/umcast_kern.c | |||
@@ -11,10 +11,10 @@ | |||
11 | * Licensed under the GPL. | 11 | * Licensed under the GPL. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "linux/init.h" | 14 | #include <linux/init.h> |
15 | #include <linux/netdevice.h> | 15 | #include <linux/netdevice.h> |
16 | #include "umcast.h" | 16 | #include "umcast.h" |
17 | #include "net_kern.h" | 17 | #include <net_kern.h> |
18 | 18 | ||
19 | struct umcast_init { | 19 | struct umcast_init { |
20 | char *addr; | 20 | char *addr; |
diff --git a/arch/um/drivers/umcast_user.c b/arch/um/drivers/umcast_user.c index 010fa2d849ec..6074184bb51b 100644 --- a/arch/um/drivers/umcast_user.c +++ b/arch/um/drivers/umcast_user.c | |||
@@ -16,8 +16,8 @@ | |||
16 | #include <errno.h> | 16 | #include <errno.h> |
17 | #include <netinet/in.h> | 17 | #include <netinet/in.h> |
18 | #include "umcast.h" | 18 | #include "umcast.h" |
19 | #include "net_user.h" | 19 | #include <net_user.h> |
20 | #include "um_malloc.h" | 20 | #include <um_malloc.h> |
21 | 21 | ||
22 | static struct sockaddr_in *new_addr(char *addr, unsigned short port) | 22 | static struct sockaddr_in *new_addr(char *addr, unsigned short port) |
23 | { | 23 | { |
diff --git a/arch/um/drivers/vde_kern.c b/arch/um/drivers/vde_kern.c index 1b852bffdebc..6a365fadc7c4 100644 --- a/arch/um/drivers/vde_kern.c +++ b/arch/um/drivers/vde_kern.c | |||
@@ -7,10 +7,10 @@ | |||
7 | * | 7 | * |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include "linux/init.h" | 10 | #include <linux/init.h> |
11 | #include <linux/netdevice.h> | 11 | #include <linux/netdevice.h> |
12 | #include "net_kern.h" | 12 | #include <net_kern.h> |
13 | #include "net_user.h" | 13 | #include <net_user.h> |
14 | #include "vde.h" | 14 | #include "vde.h" |
15 | 15 | ||
16 | static void vde_init(struct net_device *dev, void *data) | 16 | static void vde_init(struct net_device *dev, void *data) |
diff --git a/arch/um/drivers/vde_user.c b/arch/um/drivers/vde_user.c index b8c286748d3d..64cb630d1157 100644 --- a/arch/um/drivers/vde_user.c +++ b/arch/um/drivers/vde_user.c | |||
@@ -6,8 +6,8 @@ | |||
6 | #include <stddef.h> | 6 | #include <stddef.h> |
7 | #include <errno.h> | 7 | #include <errno.h> |
8 | #include <libvdeplug.h> | 8 | #include <libvdeplug.h> |
9 | #include "net_user.h" | 9 | #include <net_user.h> |
10 | #include "um_malloc.h" | 10 | #include <um_malloc.h> |
11 | #include "vde.h" | 11 | #include "vde.h" |
12 | 12 | ||
13 | static int vde_user_init(void *data, void *dev) | 13 | static int vde_user_init(void *data, void *dev) |
diff --git a/arch/um/drivers/xterm.c b/arch/um/drivers/xterm.c index 969110e56487..20e30be44795 100644 --- a/arch/um/drivers/xterm.c +++ b/arch/um/drivers/xterm.c | |||
@@ -11,8 +11,8 @@ | |||
11 | #include <string.h> | 11 | #include <string.h> |
12 | #include <termios.h> | 12 | #include <termios.h> |
13 | #include "chan_user.h" | 13 | #include "chan_user.h" |
14 | #include "os.h" | 14 | #include <os.h> |
15 | #include "um_malloc.h" | 15 | #include <um_malloc.h> |
16 | #include "xterm.h" | 16 | #include "xterm.h" |
17 | 17 | ||
18 | struct xterm_chan { | 18 | struct xterm_chan { |
diff --git a/arch/um/drivers/xterm_kern.c b/arch/um/drivers/xterm_kern.c index e3031e69445d..e8f9957bfbf6 100644 --- a/arch/um/drivers/xterm_kern.c +++ b/arch/um/drivers/xterm_kern.c | |||
@@ -7,8 +7,8 @@ | |||
7 | #include <linux/completion.h> | 7 | #include <linux/completion.h> |
8 | #include <linux/irqreturn.h> | 8 | #include <linux/irqreturn.h> |
9 | #include <asm/irq.h> | 9 | #include <asm/irq.h> |
10 | #include "irq_kern.h" | 10 | #include <irq_kern.h> |
11 | #include "os.h" | 11 | #include <os.h> |
12 | 12 | ||
13 | struct xterm_wait { | 13 | struct xterm_wait { |
14 | struct completion ready; | 14 | struct completion ready; |