2 * __get_user functions.
4 * (C) Copyright 1998 Linus Torvalds
6 * These functions have a non-standard call interface
7 * to make them more efficient, especially as they
8 * return an error value in addition to the "real"
11 #include <asm/thread_info.h>
17 * Inputs: %eax contains the address
19 * Outputs: %eax is error code (0 or -EFAULT)
20 * %edx contains zero-extended value
22 * These functions should not modify any other registers,
23 * as they get called from within inline assembly.
31 cmpl TI_addr_limit(%edx),%eax
43 cmpl TI_addr_limit(%edx),%eax
45 2: movzwl -1(%eax),%edx
55 cmpl TI_addr_limit(%edx),%eax
66 .section __ex_table,"a"