summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch
diff options
context:
space:
mode:
authorOla Redell <ola.redell@retotech.se>2017-12-17 22:27:56 +0100
committerOla Redell <ola.redell@retotech.se>2017-12-17 22:27:56 +0100
commit5a855a81ab418b1496ed99b903c4700c33a60962 (patch)
treecf53a5dac5d9d554375954910802770839471a36 /recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch
parente0a1fea1252e26f95f5a6302f0079d4e7649ffc2 (diff)
downloadmeta-jailhouse-5a855a81ab418b1496ed99b903c4700c33a60962.tar.gz
adding example image recipe, machine config and kernel recipe
This should provide a complete setup together with meta-sunxi to build images with jailhouse
Diffstat (limited to 'recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch')
-rw-r--r--recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch b/recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch
new file mode 100644
index 0000000..472a56e
--- /dev/null
+++ b/recipes-kernel/linux/jailhouse-linux-4.14.6/jailhouse-required-symbol-export.patch
@@ -0,0 +1,20 @@
1diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c
2index 7e45f69..dc0336e 100644
3--- a/arch/arm/kernel/armksyms.c
4+++ b/arch/arm/kernel/armksyms.c
5@@ -20,6 +20,7 @@
6
7 #include <asm/checksum.h>
8 #include <asm/ftrace.h>
9+#include <asm/virt.h>
10
11 /*
12 * libgcc functions - functions that are used internally by the
13@@ -181,3 +182,7 @@ EXPORT_SYMBOL(__pv_offset);
14 EXPORT_SYMBOL(arm_smccc_smc);
15 EXPORT_SYMBOL(arm_smccc_hvc);
16 #endif
17+
18+#ifdef CONFIG_ARM_VIRT_EXT
19+EXPORT_SYMBOL_GPL(__boot_cpu_mode);
20+#endif