uml: stop saving process FP state
[linux-2.6/cjktty.git] / arch / um / include / user.h
blob99033ff28a78872996f64cc5e3a732ef6022d664
1 /*
2 * Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
6 #ifndef __USER_H__
7 #define __USER_H__
9 /*
10 * The usual definition - copied here because the kernel provides its own,
11 * fancier, type-safe, definition. Using that one would require
12 * copying too much infrastructure for my taste, so userspace files
13 * get less checking than kernel files.
15 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
17 /* This is to get size_t */
18 #ifdef __KERNEL__
19 #include <linux/types.h>
20 #else
21 #include <stddef.h>
22 #endif
24 extern void panic(const char *fmt, ...)
25 __attribute__ ((format (printf, 1, 2)));
26 extern int printk(const char *fmt, ...)
27 __attribute__ ((format (printf, 1, 2)));
28 extern void schedule(void);
29 extern int in_aton(char *str);
30 extern int open_gdb_chan(void);
31 extern size_t strlcpy(char *, const char *, size_t);
32 extern size_t strlcat(char *, const char *, size_t);
34 #endif