summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcmring/include/mach/vmalloc.h
diff options
context:
space:
mode:
authorLeo Chen <leochen@broadcom.com>2009-08-07 19:59:57 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-08-15 16:01:40 +0100
commit661f78d80969eefb25a0e99c08c0eba81b37861e (patch)
treef4593dd184282a47c874419e874d4e51590bc0a0 /arch/arm/mach-bcmring/include/mach/vmalloc.h
parentb7462d654f623738b4b3e03cff20f68b5b9a77f5 (diff)
ARM: 5646/1: bcmring: add mach-bcmring/mm.c and memory headers
memory map addresses memory map description and init functions Signed-off-by: Leo Chen <leochen@broadcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-bcmring/include/mach/vmalloc.h')
-rw-r--r--arch/arm/mach-bcmring/include/mach/vmalloc.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-bcmring/include/mach/vmalloc.h b/arch/arm/mach-bcmring/include/mach/vmalloc.h
new file mode 100644
index 000000000000..35e2ead8395c
--- /dev/null
+++ b/arch/arm/mach-bcmring/include/mach/vmalloc.h
@@ -0,0 +1,25 @@
+/*
+ *
+ * Copyright (C) 2000 Russell King.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+/*
+ * Move VMALLOC_END to 0xf0000000 so that the vm space can range from
+ * 0xe0000000 to 0xefffffff. This gives us 256 MB of vm space and handles
+ * larger physical memory designs better.
+ */
+#define VMALLOC_END (PAGE_OFFSET + 0x30000000)