Skip to content

Commit

Permalink
[PATCH] uml: __deprecated makes build unnecessarily noisy
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed May 7, 2005
1 parent c184ca3 commit f2a0f8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/um/kernel/skas/include/uaccess-skas.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
((unsigned long) (addr) + (size) <= FIXADDR_USER_END) && \
((unsigned long) (addr) + (size) >= (unsigned long)(addr))))

static inline int __deprecated verify_area_skas(int type, const void * addr,
unsigned long size)
static inline int verify_area_skas(int type, const void * addr,
unsigned long size)
{
return(access_ok_skas(type, addr, size) ? 0 : -EFAULT);
}
Expand Down
4 changes: 2 additions & 2 deletions arch/um/kernel/tt/include/uaccess-tt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f2a0f8b

Please sign in to comment.