aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/include/arch.h15
-rw-r--r--arch/um/include/user_util.h4
-rw-r--r--arch/um/kernel/trap.c1
-rw-r--r--arch/um/kernel/um_arch.c1
4 files changed, 17 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
11extern void arch_check_bugs(void);
12extern int arch_fixup(unsigned long address, void *sc_ptr);
13extern 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);
65extern void kill_child_dead(int pid); 65extern void kill_child_dead(int pid);
66extern int cont(int pid); 66extern int cont(int pid);
67extern void check_sigio(void); 67extern void check_sigio(void);
68extern void arch_check_bugs(void);
69extern int arch_handle_signal(int sig, union uml_pt_regs *regs);
70extern int arch_fixup(unsigned long address, void *sc_ptr);
71extern void arch_init_thread(void);
72extern int raw(int fd); 68extern int raw(int fd);
73 69
74#endif 70#endif
diff --git a/arch/um/kernel/trap.c b/arch/um/kernel/trap.c
index 26f15c458574..e27b898412fc 100644
--- a/arch/um/kernel/trap.c
+++ b/arch/um/kernel/trap.c
@@ -20,6 +20,7 @@
20#include "sysdep/sigcontext.h" 20#include "sysdep/sigcontext.h"
21#include "user_util.h" 21#include "user_util.h"
22#include "kern_util.h" 22#include "kern_util.h"
23#include "arch.h"
23#include "kern.h" 24#include "kern.h"
24#include "chan_kern.h" 25#include "chan_kern.h"
25#include "mconsole_kern.h" 26#include "mconsole_kern.h"
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index 613fb082bbd5..8eefb5202c50 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -28,6 +28,7 @@
28#include "asm/current.h" 28#include "asm/current.h"
29#include "user_util.h" 29#include "user_util.h"
30#include "kern_util.h" 30#include "kern_util.h"
31#include "arch.h"
31#include "kern.h" 32#include "kern.h"
32#include "mem_user.h" 33#include "mem_user.h"
33#include "mem.h" 34#include "mem.h"