forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/x86/entry/vdso/vma.c
....@@ -339,8 +339,8 @@
339339
340340 /* Round the lowest possible end address up to a PMD boundary. */
341341 end = (start + len + PMD_SIZE - 1) & PMD_MASK;
342
- if (end >= TASK_SIZE_MAX)
343
- end = TASK_SIZE_MAX;
342
+ if (end >= DEFAULT_MAP_WINDOW)
343
+ end = DEFAULT_MAP_WINDOW;
344344 end -= len;
345345
346346 if (end > start) {