summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap/mru-256MB.diff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-02 09:08:10 +0000
committerKoen Kooi <koen@openembedded.org>2008-10-02 09:08:10 +0000
commite55d046fe8273d66a62ed55d1d971df1a2d023b6 (patch)
treeaa71ee8bf08a46a3b6c1c808f62160eff1888853 /packages/linux/linux-omap/mru-256MB.diff
parentb56420b79858b58d42c24d78a06604ca66e7beb1 (diff)
linux omap git: add patch to increase VMALLOC to 256MB
Diffstat (limited to 'packages/linux/linux-omap/mru-256MB.diff')
-rw-r--r--packages/linux/linux-omap/mru-256MB.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/linux/linux-omap/mru-256MB.diff b/packages/linux/linux-omap/mru-256MB.diff
new file mode 100644
index 0000000000..0492ca2d8f
--- /dev/null
+++ b/packages/linux/linux-omap/mru-256MB.diff
@@ -0,0 +1,24 @@
+From: Mans Rullgard <mans@mansr.com>
+Date: Thu, 2 Oct 2008 00:05:33 +0000 (+0100)
+Subject: OMAP: Increase VMALLOC_END to allow 256MB RAM
+X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=355a0ce968e4a7b0c8d8203f4517296e932e373d
+
+OMAP: Increase VMALLOC_END to allow 256MB RAM
+
+This increases VMALLOC_END to 0x18000000, making room for 256MB
+RAM with the default 128MB vmalloc region.
+
+Signed-off-by: Mans Rullgard <mans@mansr.com>
+---
+
+diff --git a/arch/arm/plat-omap/include/mach/vmalloc.h b/arch/arm/plat-omap/include/mach/vmalloc.h
+index d8515cb..b97dfaf 100644
+--- a/arch/arm/plat-omap/include/mach/vmalloc.h
++++ b/arch/arm/plat-omap/include/mach/vmalloc.h
+@@ -17,5 +17,5 @@
+ * 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 + 0x17000000)
++#define VMALLOC_END (PAGE_OFFSET + 0x18000000)
+