The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] Blackfin arch: add missing __clear_user function to uaccess header file
@ 2007-04-04  6:28 Wu, Bryan
  0 siblings, 0 replies; only message in thread
From: Wu, Bryan @ 2007-04-04  6:28 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel


Signed-off-by: Bryan Wu <bryan.wu@analog.com>
---
 include/asm-blackfin/uaccess.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/asm-blackfin/uaccess.h b/include/asm-blackfin/uaccess.h
index ed931bb..bfcb679 100644
--- a/include/asm-blackfin/uaccess.h
+++ b/include/asm-blackfin/uaccess.h
@@ -260,10 +260,12 @@ static inline long strnlen_user(const char *src, long n)
  * Zero Userspace
  */
 
-static inline unsigned long clear_user(void *to, unsigned long n)
+static inline unsigned long __clear_user(void *to, unsigned long n)
 {
 	memset(to, 0, n);
 	return 0;
 }
 
+#define clear_user(to, n) __clear_user(to, n)
+
 #endif				/* _BLACKFIN_UACCESS_H */
-- 
1.5.0.5


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-04  6:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04  6:28 [PATCH] Blackfin arch: add missing __clear_user function to uaccess header file Wu, Bryan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox