summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-omap-2.6.27/openvz/0002-arm-export-arm-version-of-show_mem.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/linux/linux-omap-2.6.27/openvz/0002-arm-export-arm-version-of-show_mem.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/linux-omap-2.6.27/openvz/0002-arm-export-arm-version-of-show_mem.patch')
-rw-r--r--recipes/linux/linux-omap-2.6.27/openvz/0002-arm-export-arm-version-of-show_mem.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-2.6.27/openvz/0002-arm-export-arm-version-of-show_mem.patch b/recipes/linux/linux-omap-2.6.27/openvz/0002-arm-export-arm-version-of-show_mem.patch
new file mode 100644
index 0000000000..cf0e4222f8
--- /dev/null
+++ b/recipes/linux/linux-omap-2.6.27/openvz/0002-arm-export-arm-version-of-show_mem.patch
@@ -0,0 +1,35 @@
+From e7b3c23fd50bf2d377384af721b8a6077ea4400a Mon Sep 17 00:00:00 2001
+From: Kir Kolyshkin <kir@openvz.org>
+Date: Fri, 24 Oct 2008 18:01:40 +0400
+Subject: [PATCH] arm: export arm version of show_mem()
+
+Needed for vzwdog module.
+
+Signed-off-by: Kir Kolyshkin <kir@openvz.org>
+---
+ arch/arm/mm/init.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
+index 30a69d6..c9332cc 100644
+--- a/arch/arm/mm/init.c
++++ b/arch/arm/mm/init.c
+@@ -15,6 +15,7 @@
+ #include <linux/mman.h>
+ #include <linux/nodemask.h>
+ #include <linux/initrd.h>
++#include <linux/module.h>
+
+ #include <asm/mach-types.h>
+ #include <asm/setup.h>
+@@ -86,6 +87,7 @@ void show_mem(void)
+ printk("%d pages shared\n", shared);
+ printk("%d pages swap cached\n", cached);
+ }
++EXPORT_SYMBOL_GPL(show_mem);
+
+ /*
+ * FIXME: We really want to avoid allocating the bootmap bitmap
+--
+1.5.5.1
+