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 <[email protected]>
Index: linux-2.6.11/arch/um/kernel/skas/include/uaccess-skas.h
===================================================================
--- linux-2.6.11.orig/arch/um/kernel/skas/include/uaccess-skas.h 2005-05-06 15:10:02.000000000 -0400
+++ linux-2.6.11/arch/um/kernel/skas/include/uaccess-skas.h 2005-05-06 15:18:46.000000000 -0400
@@ -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);
}
Index: linux-2.6.11/arch/um/kernel/tt/include/uaccess-tt.h
===================================================================
--- linux-2.6.11.orig/arch/um/kernel/tt/include/uaccess-tt.h 2005-05-06 15:10:02.000000000 -0400
+++ linux-2.6.11/arch/um/kernel/tt/include/uaccess-tt.h 2005-05-06 15:19:04.000000000 -0400
@@ -33,8 +33,8 @@
(((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);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]