diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:01 -0400 |
commit | eb8307595baa729a12db0fec9a80910b13bd6fc8 (patch) | |
tree | 8fe64a44999871932f0c1671026747840f701b2b /arch/um/include | |
parent | c65badbdf5dc117e45873e760f807063ad59a854 (diff) |
uml: create arch.h
This patch moves the declarations of the architecture hooks from user_util.h
to a new header, arch.c, and adds the necessary includes to files which need
those declarations.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/arch.h | 15 | ||||
-rw-r--r-- | arch/um/include/user_util.h | 4 |
2 files changed, 15 insertions, 4 deletions
diff --git a/arch/um/include/arch.h b/arch/um/include/arch.h new file mode 100644 index 000000000000..8e11dd7c1adb --- /dev/null +++ b/arch/um/include/arch.h | |||
@@ -0,0 +1,15 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | ||
3 | * Licensed under the GPL | ||
4 | */ | ||
5 | |||
6 | #ifndef __ARCH_H__ | ||
7 | #define __ARCH_H__ | ||
8 | |||
9 | #include "sysdep/ptrace.h" | ||
10 | |||
11 | extern void arch_check_bugs(void); | ||
12 | extern int arch_fixup(unsigned long address, void *sc_ptr); | ||
13 | extern int arch_handle_signal(int sig, union uml_pt_regs *regs); | ||
14 | |||
15 | #endif | ||
diff --git a/arch/um/include/user_util.h b/arch/um/include/user_util.h index df4869aa9406..fabad2372af0 100644 --- a/arch/um/include/user_util.h +++ b/arch/um/include/user_util.h | |||
@@ -65,10 +65,6 @@ extern int attach(int pid); | |||
65 | extern void kill_child_dead(int pid); | 65 | extern void kill_child_dead(int pid); |
66 | extern int cont(int pid); | 66 | extern int cont(int pid); |
67 | extern void check_sigio(void); | 67 | extern void check_sigio(void); |
68 | extern void arch_check_bugs(void); | ||
69 | extern int arch_handle_signal(int sig, union uml_pt_regs *regs); | ||
70 | extern int arch_fixup(unsigned long address, void *sc_ptr); | ||
71 | extern void arch_init_thread(void); | ||
72 | extern int raw(int fd); | 68 | extern int raw(int fd); |
73 | 69 | ||
74 | #endif | 70 | #endif |