summaryrefslogtreecommitdiff
path: root/arch/um/include
diff options
context:
space:
mode:
authorKarol Swietlicki <magotari@gmail.com>2008-02-05 09:30:50 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 20:44:26 +0300
commit6b7e967484f4197d799e14b844b78118e93192c6 (patch)
tree61896d643c3a4b302d709a02aa0b7c140c2d8805 /arch/um/include
parent291248fd6e371bcbfb8a77689c5d741a1527488f (diff)
downloadlinux-6b7e967484f4197d799e14b844b78118e93192c6.tar.xz
uml: convert functions to void
This patch changes a few functions into returning void. The return values were not used anyway, so I think it should not be a problem. Also removed a little leftover bit from TT mode. Signed-off-by: Karol Swietlicki <magotari@gmail.com> Signed-off-by: Jeff Dike <jdike@linux.intel.com> 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/os.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h
index 55ca073589dc..69c0d4ad0e52 100644
--- a/arch/um/include/os.h
+++ b/arch/um/include/os.h
@@ -167,14 +167,10 @@ extern int os_fchange_dir(int fd);
/* start_up.c */
extern void os_early_checks(void);
-extern int can_do_skas(void);
+extern void can_do_skas(void);
extern void os_check_bugs(void);
extern void check_host_supports_tls(int *supports_tls, int *tls_min);
-/* Make sure they are clear when running in TT mode. Required by
- * SEGV_MAYBE_FIXABLE */
-#define clear_can_do_skas() do { ptrace_faultinfo = proc_mm = 0; } while (0)
-
/* mem.c */
extern int create_mem_file(unsigned long long len);