File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ extern unsigned int get_wchan(struct task_struct *p);
7777 * Default System Memory Map on ARC (assuming 4k pages)
7878 *
7979 * ---------------------------- (Userspace, Translated) -------------------------
80- * 0x0000_0000 0x5FFF_FFFF (user vaddr: TASK_SIZE)
80+ * 0x0000_0000 0xFFFE_FFFF (user vaddr: TASK_SIZE)
8181 *
8282 * PAGE_OFFSET ---------------- (Kernelspace, Translated) -----------------------
8383 * 0xffff_0000_0000_0000 0xffff_0000_3fff_ffff (kernel: PUD_SIZE)
@@ -87,7 +87,7 @@ extern unsigned int get_wchan(struct task_struct *p);
8787 CONFIG_ARC_KVADDR_SIZE << 20)
8888 * -----------------------------------------------------------------------------
8989 */
90- #define TASK_SIZE 0x60000000
90+ #define TASK_SIZE 0xFFFF0000
9191#define USER_KERNEL_GUTTER 0
9292
9393#define VMALLOC_START (PAGE_OFFSET + 0x100000000000UL)
@@ -152,6 +152,7 @@ extern unsigned int get_wchan(struct task_struct *p);
152152/* This decides where the kernel will search for a free chunk of vm
153153 * space during mmap's.
154154 */
155- #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
155+ #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
156+
156157
157158#endif /* __ASM_ARC_PROCESSOR_H */
You can’t perform that action at this time.
0 commit comments