diff options
author | Jeff Dike <jdike@addtoit.com> | 2005-05-06 21:30:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-06 22:09:28 -0700 |
commit | f2a0f8b9301ca34034c4a2ec09a09ff4677e83dd (patch) | |
tree | 59566a214a4930904ac93c6d9f8ecd834574f70f /arch/um/kernel/tt | |
parent | c184ca3681ee9ae0bb63cb591e1e16f42536415c (diff) | |
download | kernel_samsung_aries-f2a0f8b9301ca34034c4a2ec09a09ff4677e83dd.zip kernel_samsung_aries-f2a0f8b9301ca34034c4a2ec09a09ff4677e83dd.tar.gz kernel_samsung_aries-f2a0f8b9301ca34034c4a2ec09a09ff4677e83dd.tar.bz2 |
[PATCH] uml: __deprecated makes build unnecessarily noisy
Remove the __deprecated from verify_area_skas and verify_area_tt. Since
verify_area is itself marked __deprecated, and it is the only caller of
these, then they don't need to be marked. Marking them only makes the
build noisier.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/kernel/tt')
-rw-r--r-- | arch/um/kernel/tt/include/uaccess-tt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/tt/include/uaccess-tt.h b/arch/um/kernel/tt/include/uaccess-tt.h index bb69d6b..3fbb5fe 100644 --- a/arch/um/kernel/tt/include/uaccess-tt.h +++ b/arch/um/kernel/tt/include/uaccess-tt.h @@ -33,8 +33,8 @@ extern unsigned long uml_physmem; (((unsigned long) (addr) <= ((unsigned long) (addr) + (size))) && \ (under_task_size(addr, size) || is_stack(addr, size)))) -static inline int __deprecated verify_area_tt(int type, const void * addr, - unsigned long size) +static inline int verify_area_tt(int type, const void * addr, + unsigned long size) { return(access_ok_tt(type, addr, size) ? 0 : -EFAULT); } |