diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-17 13:48:37 -0400 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 01:55:19 -0400 |
| commit | 8569c9140bd41089f9b6be8837ca421102714a90 (patch) | |
| tree | cd289b322b215fe2ca2530aa320febfd99388d7f /arch/um/include/kern_util.h | |
| parent | 2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4 (diff) | |
x86, um: take arch/um/include/* out of the way
We can't just plop asm/* into it - userland helpers are built with it
in search path and seeing asm/* show up there suddenly would be a bad
idea.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/um/include/kern_util.h')
| -rw-r--r-- | arch/um/include/kern_util.h | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/arch/um/include/kern_util.h b/arch/um/include/kern_util.h deleted file mode 100644 index 3c341222d252..000000000000 --- a/arch/um/include/kern_util.h +++ /dev/null | |||
| @@ -1,69 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | ||
| 3 | * Licensed under the GPL | ||
| 4 | */ | ||
| 5 | |||
| 6 | #ifndef __KERN_UTIL_H__ | ||
| 7 | #define __KERN_UTIL_H__ | ||
| 8 | |||
| 9 | #include "sysdep/ptrace.h" | ||
| 10 | #include "sysdep/faultinfo.h" | ||
| 11 | |||
| 12 | extern int uml_exitcode; | ||
| 13 | |||
| 14 | extern int ncpus; | ||
| 15 | extern int kmalloc_ok; | ||
| 16 | |||
| 17 | #define UML_ROUND_UP(addr) \ | ||
| 18 | ((((unsigned long) addr) + PAGE_SIZE - 1) & PAGE_MASK) | ||
| 19 | |||
| 20 | extern unsigned long alloc_stack(int order, int atomic); | ||
| 21 | extern void free_stack(unsigned long stack, int order); | ||
| 22 | |||
| 23 | extern int do_signal(void); | ||
| 24 | extern void copy_sc(struct uml_pt_regs *regs, void *from); | ||
| 25 | extern void interrupt_end(void); | ||
| 26 | extern void relay_signal(int sig, struct uml_pt_regs *regs); | ||
| 27 | |||
| 28 | extern unsigned long segv(struct faultinfo fi, unsigned long ip, | ||
| 29 | int is_user, struct uml_pt_regs *regs); | ||
| 30 | extern int handle_page_fault(unsigned long address, unsigned long ip, | ||
| 31 | int is_write, int is_user, int *code_out); | ||
| 32 | |||
| 33 | extern unsigned int do_IRQ(int irq, struct uml_pt_regs *regs); | ||
| 34 | extern int smp_sigio_handler(void); | ||
| 35 | extern void initial_thread_cb(void (*proc)(void *), void *arg); | ||
| 36 | extern int is_syscall(unsigned long addr); | ||
| 37 | extern void timer_handler(int sig, struct uml_pt_regs *regs); | ||
| 38 | |||
| 39 | extern void timer_handler(int sig, struct uml_pt_regs *regs); | ||
| 40 | |||
| 41 | extern int start_uml(void); | ||
| 42 | extern void paging_init(void); | ||
| 43 | |||
| 44 | extern void uml_cleanup(void); | ||
| 45 | extern void do_uml_exitcalls(void); | ||
| 46 | |||
| 47 | /* | ||
| 48 | * Are we disallowed to sleep? Used to choose between GFP_KERNEL and | ||
| 49 | * GFP_ATOMIC. | ||
| 50 | */ | ||
| 51 | extern int __cant_sleep(void); | ||
| 52 | extern void *get_current(void); | ||
| 53 | extern int copy_from_user_proc(void *to, void *from, int size); | ||
| 54 | extern int cpu(void); | ||
| 55 | extern char *uml_strdup(const char *string); | ||
| 56 | |||
| 57 | extern unsigned long to_irq_stack(unsigned long *mask_out); | ||
| 58 | extern unsigned long from_irq_stack(int nested); | ||
| 59 | |||
| 60 | extern void syscall_trace(struct uml_pt_regs *regs, int entryexit); | ||
| 61 | extern int singlestepping(void *t); | ||
| 62 | |||
| 63 | extern void segv_handler(int sig, struct uml_pt_regs *regs); | ||
| 64 | extern void bus_handler(int sig, struct uml_pt_regs *regs); | ||
| 65 | extern void winch(int sig, struct uml_pt_regs *regs); | ||
| 66 | extern void fatal_sigsegv(void) __attribute__ ((noreturn)); | ||
| 67 | |||
| 68 | |||
| 69 | #endif | ||
