git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'riscv-for-linus-5.10-mw1' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git]
/
include
/
linux
/
uaccess.h
diff --git
a/include/linux/uaccess.h
b/include/linux/uaccess.h
index b21a2de80c0ff8fae34d018e683fb2ff73c0cbfe..c7c6e8b8344d49871fd65524a30b5e1e1d02cbf6 100644
(file)
--- a/
include/linux/uaccess.h
+++ b/
include/linux/uaccess.h
@@
-33,6
+33,10
@@
typedef struct {
/* empty dummy */
} mm_segment_t;
+#ifndef TASK_SIZE_MAX
+#define TASK_SIZE_MAX TASK_SIZE
+#endif
+
#define uaccess_kernel() (false)
#define user_addr_max() (TASK_SIZE_MAX)