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/include/shared | |
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/include/shared')
-rw-r--r-- | arch/um/include/shared/arch.h | 2 | ||||
-rw-r--r-- | arch/um/include/shared/as-layout.h | 2 | ||||
-rw-r--r-- | arch/um/include/shared/irq_kern.h | 4 | ||||
-rw-r--r-- | arch/um/include/shared/irq_user.h | 2 | ||||
-rw-r--r-- | arch/um/include/shared/kern_util.h | 4 | ||||
-rw-r--r-- | arch/um/include/shared/longjmp.h | 4 | ||||
-rw-r--r-- | arch/um/include/shared/os.h | 6 | ||||
-rw-r--r-- | arch/um/include/shared/registers.h | 4 | ||||
-rw-r--r-- | arch/um/include/shared/skas/skas.h | 2 | ||||
-rw-r--r-- | arch/um/include/shared/skas_ptrace.h | 2 | ||||
-rw-r--r-- | arch/um/include/shared/sysrq.h | 7 |
11 files changed, 16 insertions, 23 deletions
diff --git a/arch/um/include/shared/arch.h b/arch/um/include/shared/arch.h index 2de92a08a76b..4f46abda060d 100644 --- a/arch/um/include/shared/arch.h +++ b/arch/um/include/shared/arch.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef __ARCH_H__ | 6 | #ifndef __ARCH_H__ |
7 | #define __ARCH_H__ | 7 | #define __ARCH_H__ |
8 | 8 | ||
9 | #include "sysdep/ptrace.h" | 9 | #include <sysdep/ptrace.h> |
10 | 10 | ||
11 | extern void arch_check_bugs(void); | 11 | extern void arch_check_bugs(void); |
12 | extern int arch_fixup(unsigned long address, struct uml_pt_regs *regs); | 12 | extern int arch_fixup(unsigned long address, struct uml_pt_regs *regs); |
diff --git a/arch/um/include/shared/as-layout.h b/arch/um/include/shared/as-layout.h index 86daa5461815..694c792bab4e 100644 --- a/arch/um/include/shared/as-layout.h +++ b/arch/um/include/shared/as-layout.h | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #ifndef __ASSEMBLY__ | 36 | #ifndef __ASSEMBLY__ |
37 | 37 | ||
38 | #include "sysdep/ptrace.h" | 38 | #include <sysdep/ptrace.h> |
39 | 39 | ||
40 | struct cpu_task { | 40 | struct cpu_task { |
41 | int pid; | 41 | int pid; |
diff --git a/arch/um/include/shared/irq_kern.h b/arch/um/include/shared/irq_kern.h index 7a5bfa6291b8..e05bd667de15 100644 --- a/arch/um/include/shared/irq_kern.h +++ b/arch/um/include/shared/irq_kern.h | |||
@@ -6,8 +6,8 @@ | |||
6 | #ifndef __IRQ_KERN_H__ | 6 | #ifndef __IRQ_KERN_H__ |
7 | #define __IRQ_KERN_H__ | 7 | #define __IRQ_KERN_H__ |
8 | 8 | ||
9 | #include "linux/interrupt.h" | 9 | #include <linux/interrupt.h> |
10 | #include "asm/ptrace.h" | 10 | #include <asm/ptrace.h> |
11 | 11 | ||
12 | extern int um_request_irq(unsigned int irq, int fd, int type, | 12 | extern int um_request_irq(unsigned int irq, int fd, int type, |
13 | irq_handler_t handler, | 13 | irq_handler_t handler, |
diff --git a/arch/um/include/shared/irq_user.h b/arch/um/include/shared/irq_user.h index 2b6d703925b5..df5633053957 100644 --- a/arch/um/include/shared/irq_user.h +++ b/arch/um/include/shared/irq_user.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef __IRQ_USER_H__ | 6 | #ifndef __IRQ_USER_H__ |
7 | #define __IRQ_USER_H__ | 7 | #define __IRQ_USER_H__ |
8 | 8 | ||
9 | #include "sysdep/ptrace.h" | 9 | #include <sysdep/ptrace.h> |
10 | 10 | ||
11 | struct irq_fd { | 11 | struct irq_fd { |
12 | struct irq_fd *next; | 12 | struct irq_fd *next; |
diff --git a/arch/um/include/shared/kern_util.h b/arch/um/include/shared/kern_util.h index af6b6dc868ba..83a91f976330 100644 --- a/arch/um/include/shared/kern_util.h +++ b/arch/um/include/shared/kern_util.h | |||
@@ -6,8 +6,8 @@ | |||
6 | #ifndef __KERN_UTIL_H__ | 6 | #ifndef __KERN_UTIL_H__ |
7 | #define __KERN_UTIL_H__ | 7 | #define __KERN_UTIL_H__ |
8 | 8 | ||
9 | #include "sysdep/ptrace.h" | 9 | #include <sysdep/ptrace.h> |
10 | #include "sysdep/faultinfo.h" | 10 | #include <sysdep/faultinfo.h> |
11 | 11 | ||
12 | struct siginfo; | 12 | struct siginfo; |
13 | 13 | ||
diff --git a/arch/um/include/shared/longjmp.h b/arch/um/include/shared/longjmp.h index e860bc5848e0..9bdddf4c405b 100644 --- a/arch/um/include/shared/longjmp.h +++ b/arch/um/include/shared/longjmp.h | |||
@@ -1,8 +1,8 @@ | |||
1 | #ifndef __UML_LONGJMP_H | 1 | #ifndef __UML_LONGJMP_H |
2 | #define __UML_LONGJMP_H | 2 | #define __UML_LONGJMP_H |
3 | 3 | ||
4 | #include "sysdep/archsetjmp.h" | 4 | #include <sysdep/archsetjmp.h> |
5 | #include "os.h" | 5 | #include <os.h> |
6 | 6 | ||
7 | extern int setjmp(jmp_buf); | 7 | extern int setjmp(jmp_buf); |
8 | extern void longjmp(jmp_buf, int); | 8 | extern void longjmp(jmp_buf, int); |
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h index 89b686c1a3ea..44883049c11d 100644 --- a/arch/um/include/shared/os.h +++ b/arch/um/include/shared/os.h | |||
@@ -7,9 +7,9 @@ | |||
7 | #define __OS_H__ | 7 | #define __OS_H__ |
8 | 8 | ||
9 | #include <stdarg.h> | 9 | #include <stdarg.h> |
10 | #include "irq_user.h" | 10 | #include <irq_user.h> |
11 | #include "longjmp.h" | 11 | #include <longjmp.h> |
12 | #include "mm_id.h" | 12 | #include <mm_id.h> |
13 | 13 | ||
14 | #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) | 14 | #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) |
15 | 15 | ||
diff --git a/arch/um/include/shared/registers.h b/arch/um/include/shared/registers.h index f1e0aa56c52a..f5b76355ad71 100644 --- a/arch/um/include/shared/registers.h +++ b/arch/um/include/shared/registers.h | |||
@@ -6,8 +6,8 @@ | |||
6 | #ifndef __REGISTERS_H | 6 | #ifndef __REGISTERS_H |
7 | #define __REGISTERS_H | 7 | #define __REGISTERS_H |
8 | 8 | ||
9 | #include "sysdep/ptrace.h" | 9 | #include <sysdep/ptrace.h> |
10 | #include "sysdep/archsetjmp.h" | 10 | #include <sysdep/archsetjmp.h> |
11 | 11 | ||
12 | extern int save_fp_registers(int pid, unsigned long *fp_regs); | 12 | extern int save_fp_registers(int pid, unsigned long *fp_regs); |
13 | extern int restore_fp_registers(int pid, unsigned long *fp_regs); | 13 | extern int restore_fp_registers(int pid, unsigned long *fp_regs); |
diff --git a/arch/um/include/shared/skas/skas.h b/arch/um/include/shared/skas/skas.h index 64d2c7443306..c45df961c874 100644 --- a/arch/um/include/shared/skas/skas.h +++ b/arch/um/include/shared/skas/skas.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef __SKAS_H | 6 | #ifndef __SKAS_H |
7 | #define __SKAS_H | 7 | #define __SKAS_H |
8 | 8 | ||
9 | #include "sysdep/ptrace.h" | 9 | #include <sysdep/ptrace.h> |
10 | 10 | ||
11 | extern int userspace_pid[]; | 11 | extern int userspace_pid[]; |
12 | extern int proc_mm, ptrace_faultinfo, ptrace_ldt; | 12 | extern int proc_mm, ptrace_faultinfo, ptrace_ldt; |
diff --git a/arch/um/include/shared/skas_ptrace.h b/arch/um/include/shared/skas_ptrace.h index 3d31bbacd016..630a9c92b93c 100644 --- a/arch/um/include/shared/skas_ptrace.h +++ b/arch/um/include/shared/skas_ptrace.h | |||
@@ -9,6 +9,6 @@ | |||
9 | #define PTRACE_FAULTINFO 52 | 9 | #define PTRACE_FAULTINFO 52 |
10 | #define PTRACE_SWITCH_MM 55 | 10 | #define PTRACE_SWITCH_MM 55 |
11 | 11 | ||
12 | #include "sysdep/skas_ptrace.h" | 12 | #include <sysdep/skas_ptrace.h> |
13 | 13 | ||
14 | #endif | 14 | #endif |
diff --git a/arch/um/include/shared/sysrq.h b/arch/um/include/shared/sysrq.h deleted file mode 100644 index c8d332b56b98..000000000000 --- a/arch/um/include/shared/sysrq.h +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #ifndef __UM_SYSRQ_H | ||
2 | #define __UM_SYSRQ_H | ||
3 | |||
4 | struct task_struct; | ||
5 | extern void show_trace(struct task_struct* task, unsigned long *stack); | ||
6 | |||
7 | #endif | ||