1 #ifndef _ASM_SCORE_UACCESS_H
2 #define _ASM_SCORE_UACCESS_H
4 * Copyright (C) 2006 Atmark Techno, Inc.
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
11 extern int fixup_exception(struct pt_regs
*regs
);
15 #define __range_ok(addr, size) \
16 ((((unsigned long)(addr) >= 0x80000000) \
17 || ((unsigned long)(size) > 0x80000000) \
18 || (((unsigned long)(addr) + (unsigned long)(size)) > 0x80000000)))
20 #define __access_ok(addr, size) \
21 (__range_ok((addr), (size)) == 0)
23 #include <asm-generic/uaccess.h>
25 #endif /* __ASSEMBLY__ */
27 #endif /* _ASM_SCORE_UACCESS_H */