Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c63984b authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Nicolas Pitre
Browse files

ARM: do not define VMALLOC_END relative to PAGE_OFFSET



VMALLOC_END is supposed to be an absolute value, while PAGE_OFFSET may
vary depending on the selected user:kernel memory split mode through
CONFIG_VMSPLIT_*.  In fact, the goal of moving PAGE_OFFSET down is to
accommodate more directly addressed RAM by the kernel below the vmalloc
area, and having VMALLOC_END move along PAGE_OFFSET is rather against
the very reason why PAGE_OFFSET can be moved in the first place.

Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
parent 33d7c5c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,6 +11,6 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H

#define VMALLOC_END		(PAGE_OFFSET + 0x10000000)
#define VMALLOC_END		0xd0000000

#endif /* __ASM_ARCH_VMALLOC_H */
+1 −1
Original line number Diff line number Diff line
@@ -22,4 +22,4 @@
 * 0xe0000000 to 0xefffffff. This gives us 256 MB of vm space and handles
 * larger physical memory designs better.
 */
#define VMALLOC_END       (PAGE_OFFSET + 0x30000000)
#define VMALLOC_END       0xf0000000
+1 −1
Original line number Diff line number Diff line
@@ -17,4 +17,4 @@
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
#define VMALLOC_END       (PAGE_OFFSET + 0x10000000)
#define VMALLOC_END       0xd0000000
+1 −1
Original line number Diff line number Diff line
@@ -7,4 +7,4 @@
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#define VMALLOC_END       (PAGE_OFFSET + 0x1f000000)
#define VMALLOC_END       0xdf000000
+1 −1
Original line number Diff line number Diff line
@@ -7,4 +7,4 @@
 */


#define VMALLOC_END       (PAGE_OFFSET + 0x30000000)
#define VMALLOC_END       0xf0000000
Loading