| * linux/arch/arm/lib/getuser.S |
| * Copyright (C) 2001 Russell King |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| * Idea from x86 version, (C) Copyright 1998 Linus Torvalds |
| * These functions have a non-standard call interface to make them more |
| * efficient, especially as they return an error value in addition to |
| * the "real" return value. |
| * Inputs: r0 contains the address |
| * Outputs: r0 is the error code |
| * r2, r3 contains the zero-extended value |
| * No other registers must be altered. (see <asm/uaccess.h> |
| * for specific ASM register usage). |
| * Note that ADDR_LIMIT is either 0 or 0xc0000000. |
| * Note also that it is intended that __get_user_bad is not global. |
| #include <linux/linkage.h> |
| #ifdef CONFIG_THUMB2_KERNEL |