summaryrefslogtreecommitdiffstats
path: root/arch/um/include/arch.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-06 23:51:07 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 21:13:01 +0200
commiteb8307595baa729a12db0fec9a80910b13bd6fc8 (patch)
tree8fe64a44999871932f0c1671026747840f701b2b /arch/um/include/arch.h
parentuml: move SIGIO testing to sigio.c (diff)
downloadlinux-eb8307595baa729a12db0fec9a80910b13bd6fc8.tar.xz
linux-eb8307595baa729a12db0fec9a80910b13bd6fc8.zip
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/arch.h')
-rw-r--r--arch/um/include/arch.h15
1 files changed, 15 insertions, 0 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 @@
+/*
+ * Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
+ * Licensed under the GPL
+ */
+
+#ifndef __ARCH_H__
+#define __ARCH_H__
+
+#include "sysdep/ptrace.h"
+
+extern void arch_check_bugs(void);
+extern int arch_fixup(unsigned long address, void *sc_ptr);
+extern int arch_handle_signal(int sig, union uml_pt_regs *regs);
+
+#endif