diff options
Diffstat (limited to 'arch/um/include/user.h')
-rw-r--r-- | arch/um/include/user.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/um/include/user.h b/arch/um/include/user.h new file mode 100644 index 000000000000..57ee9e261228 --- /dev/null +++ b/arch/um/include/user.h | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) | ||
3 | * Licensed under the GPL | ||
4 | */ | ||
5 | |||
6 | #ifndef __USER_H__ | ||
7 | #define __USER_H__ | ||
8 | |||
9 | extern void panic(const char *fmt, ...); | ||
10 | extern int printk(const char *fmt, ...); | ||
11 | extern void schedule(void); | ||
12 | extern void *um_kmalloc(int size); | ||
13 | extern void *um_kmalloc_atomic(int size); | ||
14 | extern void kfree(void *ptr); | ||
15 | extern int in_aton(char *str); | ||
16 | extern int open_gdb_chan(void); | ||
17 | extern int strlcpy(char *, const char *, int); | ||
18 | extern void *um_vmalloc(int size); | ||
19 | extern void vfree(void *ptr); | ||
20 | |||
21 | #endif | ||
22 | |||
23 | /* | ||
24 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
25 | * Emacs will notice this stuff at the end of the file and automatically | ||
26 | * adjust the settings for this buffer only. This must remain at the end | ||
27 | * of the file. | ||
28 | * --------------------------------------------------------------------------- | ||
29 | * Local variables: | ||
30 | * c-file-style: "linux" | ||
31 | * End: | ||
32 | */ | ||