git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] x86: don't initialise cpu_possible_map to all ones
[pandora-kernel.git]
/
include
/
asm-sh64
/
uaccess.h
diff --git
a/include/asm-sh64/uaccess.h
b/include/asm-sh64/uaccess.h
index
56aa3cf
..
f4936d8
100644
(file)
--- a/
include/asm-sh64/uaccess.h
+++ b/
include/asm-sh64/uaccess.h
@@
-287,7
+287,7
@@
__sfu_res = __strncpy_from_user((unsigned long) (dest), __sfu_src, __sfu_count);
*/
extern long __strnlen_user(const char *__s, long __n);
-
extern __inline__
long strnlen_user(const char *s, long n)
+
static inline
long strnlen_user(const char *s, long n)
{
if (!__addr_ok(s))
return 0;